fivdi / pigpio

Fast GPIO, PWM, servo control, state change notification and interrupt handling with Node.js on the Raspberry Pi
MIT License
948 stars 89 forks source link

Does pigpio support compute module 3 ? #118

Closed jinyistudio closed 4 years ago

jinyistudio commented 4 years ago

Does pigpio support compute module 3 ?

fivdi commented 4 years ago

This isn't something that I have tried myself but the pigpio documentation at http://abyz.me.uk/rpi/pigpio/ indicates that the Compute Module is supported.

jinyistudio commented 4 years ago
  1. CM3 is ok. node .js with sudo
  2. I need as root when i porting to NODE-RED as node. Do you know how to run as root in the NODE-RED ?
fivdi commented 4 years ago
  1. CM3 is ok.

Thank you for confirming this to be the case.

node .js with sudo

Yes, this is correct. sudo is required by the underlying pigpio C library.

  1. I need as root when i porting to NODE-RED as node. Do you know how to run as root in the NODE-RED ?

Unfortunately I'm not familiar with Node-RED. I'd suggest asking this question at the Node-RED forum (https://discourse.nodered.org/)

fivdi commented 4 years ago

There is no actionable for pigpio here so I'll go ahead and close the issue.