← All courses
Edges and One-Shots
Acting once when a signal changes
Compare the current input with its previous-scan state to detect a transition, turn that edge into a one-scan pulse and make a held button act only once.
Acting once when a signal changes
Compare the current input with its previous-scan state to detect a transition, turn that edge into a one-scan pulse and make a held button act only once.
// Drives one output that follows the button instantly and another that follows it one scan later.