Async raspberry pi gpio events in nodejs

后端 未结 4 1363
伪装坚强ぢ
伪装坚强ぢ 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:47

    I just came accross this modulle

    https://github.com/EnotionZ/GpiO

    I have not looked in depth to it but is seems it uses the setInterval method in the background.

提交回复
热议问题