Here is a picture of the breadboard with the PIC connected to the ICD2 (Note the weather-beaten batterypack on the right; it is at least fifteen years old, and is starting to show its age :-) :

And here is a picture of the PIC running in stand-alone mode.

All that this first program did was to blink the red LED on and off. Not very exiting, but it tells me that everything is set up correctly. I really like the MPLAB IDE software and the ICD2 debugger: You can specify breakpoints in your code, single-step through the program, watch/modify variables, etc, just as you can when debugging a pc-program in VisualStudio.
The next goals are:
- hooking up at least 8 LEDs (for debug output)
- hooking up some switches and a couple of pot-meters
- controlling a servo
- reading an ADC input port
0 comments:
Post a Comment