pigpio
pigpio copied to clipboard
Not working with lastest Raspberry pi OS 64bits (Bookworm)
I had a projet with this library and It was working well last year. Now I'm setuping a new raspberry pi with Raspberry OS Lite 64 bits and I got this error:
Error: pigpio error -123 in gpioSetISRFunc at Gpio.enableInterrupt (/home/cdl/gateopener2/server/node_modules/pigpio/pigpio.js:264:12) at new Gpio (/home/cdl/gateopener2/server/node_modules/pigpio/pigpio.js:173:12)
It happen here:
this._gpio = new Gpio(gpioPin, { mode: Gpio.INPUT, pullUpDown: Gpio.PUD_DOWN, edge: Gpio.EITHER_EDGE });
I tried many pin all the same result.
I also start my app sudo.
Any ideas of what can be my problem?