I am using pic basic with the pic16f627, at first I couldn't get the int osc to work by messing about with the settings in icprog, and I ended up putting the following in the top of the code
this worked, but nor I want to use an external 3 pin 20mhz ceramic resonator (the '627 is of the 20mhz variety), none of the setting in icprog which look like they might be right work
does anyone know which setting it should be out of LP, XT, HS, ExtClk, IntRC I/O, IntRC Clockout, ER I/O, ER Clockout, i've tried ExtCLK and ER I/O, or could it be whatever I choose it is not being written, so in which case I'd need a line that goes at the top of the code. at the moment all i've got there is
Thanks
Adam
Code:
@ device INTRC_OSC_NOCLKOUT
this worked, but nor I want to use an external 3 pin 20mhz ceramic resonator (the '627 is of the 20mhz variety), none of the setting in icprog which look like they might be right work
does anyone know which setting it should be out of LP, XT, HS, ExtClk, IntRC I/O, IntRC Clockout, ER I/O, ER Clockout, i've tried ExtCLK and ER I/O, or could it be whatever I choose it is not being written, so in which case I'd need a line that goes at the top of the code. at the moment all i've got there is
Code:
define osc 20
Thanks
Adam