Hi to all
I have found a that using a delay timer is different between Pic16f and Pic18f.
I received my samples of the Pic18f44k22. Setup the config bits and tried to toggle and led,
but the led stayed on. I then took Nigel's Tut1.2 and ran it on a pic16f628a in mplab sim.
I used the stop watch and it read the delay routine was 250mSec.
I set the Pic18f44k22 up to run at 4Mhz under mplab sim.
The stop watch read the delay routine was 3,5mSec.
Each line was read at 1uSec for both.
Why is there such a difference.
David
I have found a that using a delay timer is different between Pic16f and Pic18f.
I received my samples of the Pic18f44k22. Setup the config bits and tried to toggle and led,
but the led stayed on. I then took Nigel's Tut1.2 and ran it on a pic16f628a in mplab sim.
I used the stop watch and it read the delay routine was 250mSec.
I set the Pic18f44k22 up to run at 4Mhz under mplab sim.
The stop watch read the delay routine was 3,5mSec.
Each line was read at 1uSec for both.
Why is there such a difference.
David