| 137 | } |
| 138 | |
| 139 | void xs_digital_write(xsMachine *the) |
| 140 | { |
| 141 | modGPIOConfiguration gpio = xsmcGetHostChunk(xsThis); |
| 142 | int value = xsmcToInteger(xsArg(0)); |
| 143 | modGPIOWrite(gpio, value); |
| 144 | } |
| 145 | |
| 146 | void xs_digital_static_read(xsMachine *the) |
| 147 | { |
nothing calls this directly
no test coverage detected