In message <000501c4cb66$48c6fe40$0300a8c0@main> olin_piclist@embedinc.com (Olin Lathrop) wrote: > However, I don't understand why STATUS and INTCON are undeclared. These are > supposed to be declared in the Microchip include file for the particular > processor. All the PRG modules include PRG.INC, which includes PRGLIB.INC, > which includes the Mircochip include file. You were probably getting errors > previous to these symbols not defined, like an include file could not be > found. Yep - MPASM couldn't find p16f648.inc. Setting the MPLABDir environment variable seems to have fixed that. I've got it building, which is a start. Now I just need to add some code to drive the WISP hardware. I still don't know how I'm going to drive the charge-pump, though... Later. -- Phil. | Acorn Risc PC600 Mk3, SA202, 64MB, 6GB, philpem@philpem.me.uk | ViewFinder, 10BaseT Ethernet, 2-slice, http://www.philpem.me.uk/ | 48xCD, ARCINv6c IDE, SCSI ... (beep) Help, I've fallen and can't reach the beer. _______________________________________________ http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist