hi all
i am using 16f88 internal RC 4MHZ (in the main"osccon=0x60;//4MHZ")
when i test the program on Proteus i found that my delay 5ms become 9ms !
is it normal for internal RC?
thanks
internal RC and Delay..need advise
- QMESAR
- Valued Contributor
- Posts: 1287
- Joined: Sun Oct 05, 2014 3:20 pm
- Location: Russia
- Has thanked: 384 times
- Been thanked: 614 times
- Contact:
Re: internal RC and Delay..need advise
In my opinion is Proteus doing what it says Simulating you can not expect a simulator to yield real time execution of your code and Oscillator ,you will never get the real time 5 msec in a simulatorhertz89 wrote:hi all
i am using 16f88 internal RC 4MHZ (in the main"osccon=0x60;//4MHZ")
when i test the program on Proteus i found that my delay 5ms become 9ms !
s
test your code on real hardware and you will see that it runs as expected
https://www.flowcodexchange.com/
Regards QMESAR
Regards QMESAR