Python Forum
Relay switches On and Off every cylcle...
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Relay switches On and Off every cylcle...
#5
And another thought, cant you not read the current status of the PIN. For instance, check if the PIN is set HIGH or LOW by just reading right bit from the memory. Because most GPIO pins must memory mapped and reading relevant memory should give you the state? This way you could avoid creating a file to store the state?

Useless reading PIN values is not an option?
Reply


Messages In This Thread
RE: Relay switches On and Off every cylcle... - by hshivaraj - Nov-29-2017, 04:03 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Convert looping home security to a one time scan of switches and sensors duckredbeard 0 1,776 Dec-08-2020, 04:31 AM
Last Post: duckredbeard
  Problem connecting to 2 switches, HELP! Netcode 0 1,239 Nov-15-2019, 10:30 PM
Last Post: Netcode

Forum Jump:

User Panel Messages

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