I have AVR-GCC code for + Buffered serial output (mega128) + Driving 1 or 2 servos from a port pin (mega8) + Driving a whole stack of servos through a 4017 (mega128) + Single-conversion (i.e. not free-running ADC) (8 & 128 i think) Sorry, no LCD stuff. Never managed to get one of those to work right. I had one almost working with a PIC and then I fried something :( BTW that's why you should just buy the right connector instead of hacking one together out of bits of stuff you have lying around. The code is kind of long to send to the list. If you're interested I can put it up on my website. John Pearson wrote: > > I am looking for some C utility code for Mega chip for serial I/O, servos, LCD displays, and ADC routines. I am not interested in AVRFreaks web site. Been there, done that. Had enough of the unorganized pile of led blinking routines and the attitudes. > > Any help would be welcome. > > Thanks. > > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body