Dave Turner wrote: > I am using async comms > with it, and it seems to be doing something right, as it keeps sending > something, at the correct interval. Unfortuneately, in hyperterminal, > it only comes up with a lot of hearts and spaces. Sounds like a baud rate mismatch. > BTW, I am trying to use a baud rate of 9600, and I think the clock is > a 20MHz one, but I'm not sure. Then get sure. You need to know the clock frequency to set up the UART in order to get the desired baud rate. > The osc config bit is EXTRC-OSC2 as clock out. Huh? I haven't looked at this data sheet, but EXTRC usually means "external R/C". These don't go to 20MHz, at least not on an PIC I have looked at. I also find it unlikely that Microchip would have used this mode on one of their development board. They cost enough that $.50 for a crystal would be irrelevant. Once you know your oscillator frequency, take a look at my UART_xxx macros in STD.INS.ASPIC. These can be used to automatically compute the baud rate setup and intialize the UART. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist