Node GPIO control (fast-gpio wrapper)



  • I couldn't find a node package to control the Omega2 pins (not a fully working one anyway) so thought I'd build one.
    Perhaps someone might find it useful:

    https://github.com/entozoon/omega2-gpio

    It's essentially a fast-gpio wrapper, supporting digital I/O and PWM (no analague, at time of writing).
    If anyone fancies contributing, fire over a pull request and I'm sure it'd be cool.



  • looking at your code, seems that might have a sync/async conflict. set() is calling async->spawn but get() is calling execSync() which will block.

    With a situation where you have reads and writes one of top of the other (such as a CLK/DATA pair of pins) have you run into an issue with the timing?



Looks like your connection to Onion Community was lost, please wait while we try to reconnect.