Posts by Rodrigo Leme • 26 points
3 posts
-
1
votes0
answers26
viewsQ: Doubt About Variable and Function
I am starting in Python, with the following characteristics: -User enters temperature limit -I read the user temperature compared to the sensor temperature -If Sensor Temperature is > User…
-
0
votes1
answer123
viewsA: Cron job that runs a bash script (which runs a python script) behaving differently than when executed manually
As Voce did not put if using privileged user or not my suggestion would be to point out in cron with which user Voce wants your . py to run. /1 * * * * update_user…
-
0
votes1
answer113
viewsA: GPIO Pins Rpi 3 Python
You need to configure the GPIO.OUT. Look at the example below used to manipulate LED. import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) GPIO.setup(24,GPIO.OUT) print…