Assignments 2

To undertake these assignments, install Microchip MPLAB (www.microchip.com), Labcenter ISIS Lite (www.proteuslite.com), and CCS C Lite (www.ccsinfo.com). Application files may be downloaded from www.picmicros.org.uk. Run the applications in MPLAB with Proteus VSM selected as the debug tool. Display the animated schematic in VSM viewer, with the application COF file attached to the MCU (see the appendices for details).

Assignment 2.1

Download the OUTBYTE.DSN file and attach ENDLESS.COF. Check that it works correctly. Modify the program so that the LED output LSB flashes at 4 Hz.Predict the frequency of the MSB and measure it using the simulation clock.

Assignment 2.2

Download the SIREN project files and check that the siren program ...

Get Programming 8-bit PIC Microcontrollers in C 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.