
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.
My website has been expanded to cover other interests apart from just showing some of my photographs. This blog now adds another area to the site.
No comments:
Post a Comment