Questions tagged [background]
4 questions
2
votes
0 answers
Python GPIO scripts in background and command line concurrently?
I have a python script running in the background 24/7 on a Raspberry Pi. It waits for a GPIO input (IR sensor high for 10s) and triggers a GPIO output (SMS trigger to a router). It uses a locked thread, to avoid multiple threads overlapping. Works…
pierre
- 21
- 2
2
votes
3 answers
How can I bring a proc started on a different shell in the background to my foreground and then put it back to background
Pfiew that was a long question...
So, during bootup, I am starting on the background a python script (it gets called in the launcher).
sh /home/pi/launcher.sh&
When I ssh to the rpi I can see the python running "top -d 1".
That python script runs…
papatrexas
- 511
- 1
- 3
- 12
0
votes
0 answers
Background process capture GPIO input
This question suggests it is doable - Script Running in Background GPIO.cleanup() on shutdown?
In a desktop environment with another process displaying its window, is it possible for a background process to always be fed the GPIO inputs ? Hoping to…
kellogs
- 111
- 3
0
votes
1 answer
Which daemon or process updates /sys/class/thermal/thermal_zone0/temp?
Just curious... been exploring the RPi H/W... can't escape my embedded device-driver "down on the bare metal" past... in that vein I noticed the value in ../thermal_zone0/temp is always different from the value returned by vcgencmd measure_temp, by…
Bear Metal
- 1
- 1