We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-- Attach switch to GPIO26 s = sensor.attach("2P_TOGGLE_SWITCH", 26) s:callback( function(data) print(data.pos) end )
Back to sensor list