1/11/2017 3:21 PM | |
Posts: 71 Rating:
|
The Intel digital IO node for node-red relies on interrupts which don't seem to work for all of IOT2000's pins at the moment. I've attached a node I've made to access the value of any digital IO. Unzip the archive, copy the folder into '/usr/lib/node_modules/node-red/nodes' and restart node-red. You will then have a new node called 'IOT2000 Digital Input'. Without interrupts, it does of course not work in an event-driven manner, but you can use an inject node to automatically trigger the pin readout periodically. Attachmentnode-red-contrib-iot2000-gpio.zip (826 Downloads) |
This contribution was helpful to
1 thankful Users |
Follow us on