Page 1 of 1

Please explain -- Caution: Delay inaccurate: 'delay_ms'

Posted: Wed Jul 22, 2015 2:20 pm
by gtc
Would someone please explain this compiler diagnostic, please:
Caution: Delay inaccurate: 'delay_ms', Delay overhead:0ms, Unit delay:1.00016ms, Delay resolution:1 units
Target chip is PC16F88
osccon = 0x78; // Set INTRC to 8MHZ

Is there a configuration setting I have missed somewhere?

Re: Please explain -- Caution: Delay inaccurate: 'delay_ms'

Posted: Wed Jul 22, 2015 3:07 pm
by gtc
I have found the answer to my own question.

I needed to set the clock speed to 8000000 via the Project Options --> General Options tab.

8000000 was not in the clock speed drop down list so I had to key it in.