JamesBarwell / rpi-gpio.js

Control Raspberry Pi GPIO pins with node.js
MIT License
657 stars 116 forks source link

npm on-off module #107

Open wilburforce83 opened 4 years ago

wilburforce83 commented 4 years ago

Hi there,

is this compatible with the node module onoff ? I am about to start an R&D project which needs to use a module reliant upon onoff but I need to use this module for most other stuff. I am guessing that as long as I am not requesting the same pins at the same time there shouldn't be a conflict?

Thanks!

JamesBarwell commented 4 years ago

I'm not aware of anyone ever trying it so the honest answer is I don't know!

It looks like both modules should only interact with the specified pins that they have been set up against. So yes unless there's some side-effect I'm not aware of, I would expect them to work together, when targetting different pins.