Exercises

4.1 Describe the microcontroller project development cycle with the help of a flowchart.

4.2 Explain the main differences between a simulator and a debugger.

4.3 Write a program to flash the LEDs connected to PORT C of a PIC microcontroller with 1 second intervals. Download the program to the EasyPIC7 development board and start the in-circuit debugger. Set the debugger to watch PORT C. Step through the program to see the LEDs flashing on the hardware. At the same time observe the values of PORT C in the debug window. Then, run the program continuously without the debugger and observe the LEDs flashing.

Get Using LEDs, LCDs and GLCDs in Microcontroller Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.