>I have decided to convert all the Easy Pic 'n examples to CCS C >just for >the heck of it (teach myself CCS). If this has already been done, >somebody please tell me so I don't beat my face against the wall too >much. Well... that wasn't so hard. I did all the examples in about an hour - with time to test them all on my eval board. I figured I was really into an all nighter - ha!. If there are any that want some example CCS-C code that follows (very roughly) the Easy Pic 'N .asm code, let me know and I'll send it out to you. Please post requests to me offline - if this is wildly popular (ha!) then I will put it on my web page and post the link. CCS-C code includes examples of: 1. Simple LED blinking 2. Lookup Table in ROM (much cleaner and smaller than a case statement!) that lights appropriate bars on a 7 Segment Display. 3. Interrupts using the clock and external input - mostly counting until a cutoff is reached and then lighting an LED. 4. Counting, functions, compiler directives, bit rotation, etc. General information about the code: The examples use the '84 On A Board' technique that is described in Easy Pic 'N. But comments in the code should let you do all the examples without much trouble. Generally, pullup inputs - tie outputs to the appropriate LED, 7 Segment display, or whatever. I used Peter Anderson's def_f84.h to redefine some of the pins to make them easier to type in. However, the use of the defines should not take away from the overall issues. I started out religiously duplicating the .asm code and found it was way too easy after the first one - so I added in other things I felt made the program more friendly and instructive. The result was that one or two C examples cover several .asm examples. One last thing - whenever you are stumped and looking for examples, read the manual. The back of the CCS manual has some very good tips. Dan