The following files are written in C for the CCS PICC compiler. They allow the user to replicate the activites in the BDTTW tutorial, but without the use of a Cricket.

led.c (Activity 1)

switch.c (Activity 1.5)

relay.c (Activity 2)

tris.c (Activity 3)

pwm.c (Activity 4)

adc.c (Activity 5)

serial.c (Activity 6)

examplecode.zip (Folder contain all six activites and source code for the BDTTW)