Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Make these LEDs stay on
#4
I added a
time.sleep(580)
near the end to see if that will do it. That should keep the light on for all but a few seconds of each time it is run. It accomplishes pretty much the same thing as a loop, but the looping is controlled by the crontab file.
Reply


Messages In This Thread
Make these LEDs stay on - by duckredbeard - Apr-08-2021, 01:01 PM
RE: Make these LEDs stay on - by duckredbeard - Apr-08-2021, 01:33 PM
RE: Make these LEDs stay on - by deanhystad - Apr-08-2021, 05:14 PM
RE: Make these LEDs stay on - by duckredbeard - Apr-08-2021, 09:26 PM
RE: Make these LEDs stay on - by deanhystad - Apr-08-2021, 09:43 PM
RE: Make these LEDs stay on - by duckredbeard - Apr-08-2021, 10:26 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  functional LEDs in an array or list? // RPi user Doczu 5 1,711 Aug-23-2022, 05:37 PM
Last Post: Yoriz
Question How to make a button always stay on a point when resizing the window? _ShevaKadu 5 4,332 Nov-04-2020, 03:59 PM
Last Post: deanhystad
  Orange PI Win steering LEDs connect to GPIO djmcg 0 1,566 Dec-27-2019, 08:26 AM
Last Post: djmcg
  How to iterate over some characters in a string and the others will stay as it is. ? sodmzs 9 4,503 Jun-17-2019, 06:45 PM
Last Post: perfringo
  Absolute newbie asking for help with blinking LEDs misterfrickel 0 2,100 Mar-15-2019, 08:54 AM
Last Post: misterfrickel
  Robot Stay Inside Circular Ring webmanoffesto 4 6,768 Dec-07-2016, 06:57 PM
Last Post: micseydel

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020