Okay, my bad (which I never doubted anyway), and it's now solved. I =20 just noticed a warning that the "__CONFIG(1, ...)" line(s) had an =20 error. Found in the manual that I just need to use "__CONFIG(...)" =20 twice in a row and it will sequentially assign each to the correct =20 config register (so I don't have to explicitly differentiate between =20 the two, other than putting them in the correct order). Cheers, -Neil. Quoting PICdude : > Yep, I got it from C:\Program Files\HI-TECH > Software\PICC\9.81\include. There is also a directory for 9.80, but > that did not have the F883, so I used the include from the 9.81 > directory. And the executable is C:\Program Files\HI-TECH > Software\PICC\9.81\bin\picc.exe anyway. > > The include file defines "CONFIG1", but not sure where I should use > that. I found the syntax of __CONFIG (1, ...) from an online example. > And why would it not work if I tell it to use the config bits from > 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 >>> (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 >> > > > > > -- > 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 .