When using the following statement (internal default osc)
I get OSCCON=01111000 which is ok
But with the following statement:
I get OSCCON=01101000 which corresponds to 4Mhz. Should be 01110000. The lower freqs appear to lead to a wrong result as well.
My one cent: the compiler seems to use the fisrt three bits of IRCF whereas this chip codes IRCF on four bits (<6-3>)
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.