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