Left for archival purposes.

User avatar
By gerardwr
#3214 The API docs states:
Code: Select allnode.key()
Description
define button function, button is connected to GPIO16.


Suggestion to extend the function with the GPIO# as variable, like:
Code: Select allnode.key(8) -- key found at GPIO0


Ditto for node.led
Code: Select allnode.led(8) -- LED found at GPIO0