WOW! Thanks for all your help and work Richard!
I'll study it and try it out. I should have done a "block flow" for what I want to happen...
The movement is controlled only by timing, I have no external sensors/limit switches or encoders.Wait for button press (GPIO.3 is button sense input)
Require button pressed for 3 seconds (GPIO.0 toggles) (orange and blue LEDs hooked cathode to cathode as status)
Energize relay 1 for 18.5 seconds to open gate (GPIO.2)
Wait for button press
Require button pressed for 3 seconds
Energize relay 2 for 19 seconds to close gate (GPIO.1)
Start over
What do these mean in your code ? (!) and (;) I've not used or seen those.
Thanks again, going to try it on the bench this morning.




Bookmarks