Closed LockonS closed 6 years ago
That happens if the gpio is already in use by another process. Maybe you have it running twice? Quit other processes that may use the gpio and try again.
@onokje Thanks for the reply, but I am pretty sure that this node.js application is the only processess that use the gpio.
@LockonS please verify that the pigpiod daemon is not running. If the pigpiod daemon is running the pigpio Node.js module can not be run.
@fivdi Thanks a lot and it works perfectly now. I was so stupid to miss the statement in readme. Maybe highlight this part in readme could save the some others in case I was not the only one to overlock that.
@LockonS Yes, highlighting the appropriate section of the readme would help here. Thank you for the suggestion.
fixed with db033b544d0bc8672546c765ced3cdd744bb8adb
Node.js version:
10.8.0
pigpio version:1.1.2
Device:Raspberry Pi 3B+
pigpio C library already installed and started as root. While trying to get demo running, it always output errors as below.And the demo that I tried to run is
I tried to run the script as pi with
sudo
or directly run the script as root, but still cannot get it to run properly.