Toggle function
Posted: Thu 12. May 2022, 17:22
Hello, on the MicroMod is it possible to transform a pushbutton (momentary switch) connected to a digital input into a toggle switch and transmit its state via CAN?
In other words, when I press the pushbutton, the state on CAN output message must change and remain in that state even when I release the pushbutton, then when I press again the pushbutton, the state must toggle and remain on that state until the next push and so on, like a toggle function.
Thank you,
regards.
In other words, when I press the pushbutton, the state on CAN output message must change and remain in that state even when I release the pushbutton, then when I press again the pushbutton, the state must toggle and remain on that state until the next push and so on, like a toggle function.
Thank you,
regards.