rob_croxford
New Member
Hi All,
I wanted to do an experiment to see how accurate the internal oscilators on the (PIC12F683) are. This is mainly to reduce components in a project im working on. (as i tend to go for external clocks if accuracy is needed).
The datasheet for this pic mentions that it is possible to choose from 8 different clock speeds. From 8Mhz-125Khz - does anyone have any idea how to set this up?!
for instance how would i set the internal clock to run at 125Khz using only software (so no timing caps etc...) I imagine i would use the OSCCON register somehow...
Im currently working in C.
Any help - Greatly Appreciated.
Rob
p.s. i am currently using MikroC Pro compiler
I wanted to do an experiment to see how accurate the internal oscilators on the (PIC12F683) are. This is mainly to reduce components in a project im working on. (as i tend to go for external clocks if accuracy is needed).
The datasheet for this pic mentions that it is possible to choose from 8 different clock speeds. From 8Mhz-125Khz - does anyone have any idea how to set this up?!
for instance how would i set the internal clock to run at 125Khz using only software (so no timing caps etc...) I imagine i would use the OSCCON register somehow...
Im currently working in C.
Any help - Greatly Appreciated.
Rob
p.s. i am currently using MikroC Pro compiler