LEDs – Beyond the Basics

Description Most of us begin our experiments with microcontrollers by blinking an LED; this is the microcontroller version of the “Hello, World!” program that is introduced in traditional computer programming training. On the P2, we can blink an LED like this: main() repeat pinhigh(LED) waitms(250) pinlow(LED) waitms(750) This is satisfying and fun because it’s a […]