You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm struggling with the function
gpioSetISRFunc
I always have a bad init error -123
I tried to find some solution by disabling the W-1 interface but it does not work
This is my config.txt
I need this function because I have 2 different square signals on my PIN BCM 17 and 27 that represent the speed of 2 different rotors
I want that each time a RISING_EDGE is occuring it computes the times between the last and the current rising_edge
I tried to do
sudo -s
cd /sys/class/gpio/
echo 17 > export
cd gpio17
echo in > direction
echo both > edge
cd /sys/class/gpio/
echo 17 > unexport
and then I tried the following commands
echo 533 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio533/direction
echo 1 > /sys/class/gpio/gpio533/value
GPIO21 actually output high.
So it seems to use GPIO 512-565 instead of 0-54 in my OS which is
Linux raspberrypi 6.6.31+rpt-rpi-v7 #1 SMP Raspbian 1:6.6.31-1+rpt1 (2024-05-29) armv7l GNU/Linux
but the source code of gpioSetISRFunc uses 0-54 to export, set direction and the edge of GPIO
In this situation, I don't know how to configure interrupt with pigpio.
Hi,
I've the same problem with a code which worked fine on the same RPI with previous RPI OS version in 32 bits but no longer with current RPI OS version in 64 bits ...
Hello
I'm struggling with the function
gpioSetISRFunc
I always have a bad init error -123
I tried to find some solution by disabling the W-1 interface but it does not work
This is my config.txt
I need this function because I have 2 different square signals on my PIN BCM 17 and 27 that represent the speed of 2 different rotors
I want that each time a RISING_EDGE is occuring it computes the times between the last and the current rising_edge
I tried to do
as mentionned here #97 fivdi/pigpio#97
but sadly after the line
I have an invalid argument error
My code is something like this :
It fails at the first gpioSetISRFunc
Thanks in advance
Tom
The text was updated successfully, but these errors were encountered: