building logic latch in the micro-controller Program #7366
Unanswered
zafarmehdi
asked this question in
Q&A
Replies: 1 comment
-
This can be implemented with a simple series of "if" statements.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to build this latch in Arduino / ESP32 / ESP8266 through programming.
this is a latch wherein two switches are used to control a water pump. when the tank goes empty (both inputs go low) the pump starts as the pump start pouring water the low-level input goes high but the output will not change and the pump will continue to run. When the low and high both inputs go high the output goes low and the pump stops pouring water but did not goes high on going high-level input to low until both inputs go low.
Beta Was this translation helpful? Give feedback.
All reactions