Micro-controller Programming
MAS.863 -- Fall 2003

Notice

Assignment

Coding

Burning

Serial Transmission

Sample Codes

Applications

Resources

Some Links:

Link to MPLAB and assembly: http://www.microchip.com/1010/pline/tools/picmicro/devenv/mplabi/

Link to CCS PIC C-compiler: http://www.ccsinfo.com/picc.shtml

Link to Hi-Tech PIC C-compiler: http://www.htsoft.com/

There are others. Get/use your favorite PIC compiler and language and go from there.

Some thoughts on coding:

I'm not much of a coder, but in general the things I try to do to help are:

1- write a pseudo code of the overall process, and the routines themselves
2- make flowcharts of your process and the routines. Figure out inputs, outputs, conditions and branch points
4- Review the sample codes that come with the software you are using
5- Make use of LEDs and the Serial capabilities of your PIC, and program in LED light sequences and messages to the computer that let you know where in the code you are and if your conditions are being executed properly