Assuming you are using the internal oscillator GCBasic will handle setting the bits - it generates a subroutine in the assembly called INITSYS that does that stuff as well as switching off all the analog inputs and the comparator.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If i put:
#chip 16F690, 8
does GCBASIC set all the proper bits for the MCU to select the proper freq, etc, or is this just used for timing purposes?
I'm sorry if this is a stupid question, but I can't find anything in the help or the forums regarding this :(
Assuming you are using the internal oscillator GCBasic will handle setting the bits - it generates a subroutine in the assembly called INITSYS that does that stuff as well as switching off all the analog inputs and the comparator.
Good to know. Thanks :)