Here is a good step for serial programming. http://www.electronic-engineering.ch/microchip/projects/projects.html Build each level separately. Start with the RS232 IC then start with the PIC module. TRY low baud rate first to minimize problems, mainly due to the PIC clock. John --- Dr Skip wrote: > Greetings, > > I've done just a little bit of playing around with > microcontrollers > (PICs) and I try to read everything here one the > list, at least to the > level of what to watch out for should I have to do > 'that' some day. > Having written Zmodem code on a PC at one point, I > know comm code can be > frustrating to get right. From the list it seems > there are similar > experiences getting serial comm going on a PIC. In > fact, serial comm is > one of those things I keep putting off for the > PIC... > > Is there a code repository anywhere for PIC code > modules? I think most > compilers allow inline assy lang., so that might be > most useful, > understanding that any particular module may only be > useful to a small > group of part numbers. Initialising ports seems to > be a common challenge > here too. Maybe modules that are bullet-proof for > that as well. Such a > thing is a great learning tool, and I've used and > contributed to other > PC repositories in the past. However, in the PIC > world, there's also so > much else to debug - the code, hardware, setup, > interfaces, etc, that > having some pieces of known quality might make the > job a bit easier, > especially beyond just sensing a voltage and > operating relays. In other > repositories, you end up with hacks and the > not-so-good examples as well > as the great and elegant ones. I'm hoping that a > repository exists, and > with the expertise here, it's be a good one. Can > anyone point me to one > or more? > > Thanks, > Skip > > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > ____________________________________________________________________________________ We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list. http://tv.yahoo.com/collections/265 -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist