Yep, I got it from C:\Program Files\HI-TECH =20 Software\PICC\9.81\include. There is also a directory for 9.80, but =20 that did not have the F883, so I used the include from the 9.81 =20 directory. And the executable is C:\Program Files\HI-TECH =20 Software\PICC\9.81\bin\picc.exe anyway. The include file defines "CONFIG1", but not sure where I should use =20 that. I found the syntax of __CONFIG (1, ...) from an online example. =20 And why would it not work if I tell it to use the config bits from =20 the menu/manual selector rather than the code? Cheers, -Neil. Quoting Oli Glaser : > On 06/06/2011 16:52, PICdude wrote: >> What am I missing here? For reference, this is the code I'm using =20 >> (16F883)... >> >> > > Are you sure the config bits are right? > I just checked in the include file for the 16F883 I have for an early > version of PICC I have on here (9.70) and for the internal oscillator > (no clock out) you put INTCLK. > In case you don't know, all the bits are defined in install > directory->include->pic16f887.h (right at the bottom) > > > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .