I don't know if I'm being helpful here, but I did manage to get just what Dave is trying to do working quite nicely on the Pic Dem 4. Here is from the doc: -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of Jan-Erik Soderholm Sent: Monday, May 02, 2005 14:38 To: piclist@mit.edu Subject: RE: [PIC] USART async comms with PC running hyperterminal, problems Dave Turner wrote : > umm.. I am using the microchip include file for everything except the > labels defined in the code,... "labels" ? What "labels " ? > and they are the same as the microchip > ones, except lower-case. Ah, you mean the symbols (rxsta and so on). Again, do *not* define them yourself. Use the P16F87.INC file. > My include file is just a load of stuff like: > > #define LED1 porta That is wrong (or at least doesn't work). "porta" is an 8-bit port. One single led should just use a single *pin* on that port. Something like : > #define LED1 porta, 1 > So, is INTRC actually an osc, or an RC?? It's an internal RC-osc. > If i use the config setup posted above, what speed will I then be > using? I'm not sure that "above" refers to. If using the INTRC, it depends on other settings, see the data sheet. > And which crystal? Are you using a crystal ?? > INTRC or INTOSC? On *this* PIC, INTRC. Some other PICs calles he same osc INTOSC... Jan-Erik. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist