Thursday, 9 April 2009

Flowcode for "NOT" switching


Simple loop, reads the state of a switch (PortB Bit 1) in this case.
Uses a decsion if the switch is pressed, invert the bit. Small delay is needed to prevent keybounce.

No comments: