Questions tagged [pigpio]
37 questions
0
votes
0 answers
Cannot read GPIO values when running CRON job
I've got a basic script used to detect motion as that is registered by a PIR sensor hooked on a Rasberry PI. The script works fine when running as user 'pi' and as root, manually from a terminal. However when I try to run it on start-up it seems…

mihalios
- 828
- 1
- 6
- 12
0
votes
2 answers
Kotlin/Native pigpio Library sigHandler: Unhandled signal 11, terminating
I try to use the pigpio library with Kotlin/Native. To get started I followed this talk:
Bridge The Physical World: Kotlin Native on Raspberry Pi
The sigHandler: Unhandled signal 11, terminating occurs, when I try to assign a value I get from a…

Roger
- 75
- 7
0
votes
1 answer
I just want the distance value from the function
I just want the distance value from the function, if i print the working_odo it drives me in the while loop. I just want distance
def working_odo():
last_state=IO.input(15)
state_count=0
while 1:
current_state=IO.input(15)
…
0
votes
0 answers
Pigpio - Servo: Do you need to wait for a certain amount of time after set_servo_pulsewidth()
I'm using the pigpio module to program some Servo motors. After using the set_servo_pulsewidth() function do I need to use time.sleep()? Or is it safe for the Servo motor to carry on to the next set_servo_pulsewidth() function without the…

Itch_X
- 1
- 2
0
votes
1 answer
Using pigpio with MCP23017 for interrupt reading
I'm trying to read interrupt changes from a MCP23017 board using pigpio but i'm not getting any notification... what seems that i do not know is the initialize procedures that i need to do (looking into the documentation…

Nuno
- 1,910
- 2
- 21
- 33
0
votes
3 answers
How to get python to add and divide multiple variables?
Greetings fellow python programmers. I am building a raspberry pi project that is designed to use moisture sensors in my garden. I have the program designed to take readings for thirty seconds and then average them all into one number. It uses four…

UNKNOWN
- 105
- 10
-1
votes
1 answer
Python code doesn't execute. No errors showed (raspberry pi)
I had a problem with the pigpio pin factory But with time I think I solved a problem , but basically my code runs, but it doesn't execute properlyI'm not sure what I did wrong it just ignores How would I fix it? just this!!!!
Python 3.7.3…

OsamaAlhajjaj
- 1
- 1