Posts Tagged ‘C’

Hello World for the PICKit 2

If you need a little help getting your PicKit 2TM LED’s to blink, here’s a little program that will get you started. You’ll see after you run it that I’ve toggled all 4 of the LED’s in two different sequences. You can play with the different outputs and durations to get familiar with how this is done in C. I’m using PICC Lite here so don’t forget to “include” the pic.h file into MPLABTM, otherwise it won’t work.
Read the rest of this entry »