Async raspberry pi gpio events in nodejs

后端 未结 4 1319
伪装坚强ぢ
伪装坚强ぢ 2021-02-04 00:09

I connected a button to the Raspberry Pi GPIO ports:

\"http://adafruit.com/products/801\"

The pi-gpio node

4条回答
  •  生来不讨喜
    2021-02-04 00:42

    As an aside, there is a project very similar to node.js (however much more cut-down) called Espruino.

    This runs on Raspberry Pi (and many low power ARMs microcontrollers too), supports HTTP, and has a function called setWatch which behaves in exactly the way you require.

提交回复
热议问题