> The rest is long and probably discouraging, but hang in there.. > True, Spehro, so true... > Note: without the last line's conditional the program will invoke the dreaded > Undefined Behavior very quickly... because string has but 20 bytes allocated. Ya, I was just trying to write the simplest thing possible to get off the ground. Thanks for the reminder to no overrun buffer allocations.. > sprintf(string1,"Temperature: %d F"); This sprintf() must be a Hitech thing - CCS doesn't like it. > Also STRCAT() is not a C library function (but strcat() is..) Yeah, I always turn off caps sensitivity, it seems silly to bother with it. sTrCAt = STRcat = strcaT > I suggest you get a good book on C, and a PC C compiler (an old Borland one > will > do) with good watch windows and so on and play with it. It's too frustrating > trying to learn C with a microcontroller setup. IMHO. Your learning will > increase with every mistake, so you want to make mistakes (and fix them) as > quickly as possible. With a 16F873 and an In-Circuit Programming port, I can squirt bug-riddled code into the micro just about as fast as I can write it! I've got some books on C, read them, and never did understand pointers yet. I learned C with a PC compiler, but I'm trying to get this all to work in the memory-starved PIC and the subset of C called CCS which apparently leaves out all the useful functions. This is all helping - thanks a lot! -- Lawrence -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu