5 Commits

Author SHA1 Message Date
Ivan Mikhaylov
d1f6480d4f mraa-gpio-din: add configurable GPIO mode for DIN
GPIO mode wasn't set correctly, it was set from Pinmuxes modes instead
of GPIO. Add way to control GPIO modes on DINs from Node-RED with
possible values from mraa : Strong, Hiz, Pull-down, Pull-up.

Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>
2022-07-07 14:50:59 -04:00
Ivan Mikhaylov
f2d3c650b3 mraa-gpio-din: add cleanup on close
Required as nodejs will only lazily delete the node objects, and we may
race with the next user requesting the resources. ISR thread release.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>
2022-07-07 14:50:59 -04:00
Dave Conway-Jones
316a2fd272 Re-lint a load of nodes 2017-01-29 17:45:44 +00:00
Dave Conway-Jones
a7247e898a Update licenses and packages for all nodes 2016-11-06 20:26:19 +00:00
Dave Conway-Jones
b7ed95f60f Add Intel Galileo/Edison Gpio nodes 2015-09-21 17:03:50 +01:00