I am programming in MikroC PRO and the first try was having 4Mhz external crystal and 4Mhz on software setting. It was so slow. I tried changing the software setting to 8Mhz but still slow (although a lot faster than 4Mhz software setting). I changed the software setting from 16, 32, 40 but nothing changed.
I tried changing XT oscillator on the hardware. I compared the speed of 4Mhz crystal and 20Mhz crystal with a software setting of 8Mhz, they are just the same. Changing the software clock setting to 4Mhz makes the program execute slower again. Help me please? How can I achieve faster execution time (except from changing the program delays to faster one).
I tried changing XT oscillator on the hardware. I compared the speed of 4Mhz crystal and 20Mhz crystal with a software setting of 8Mhz, they are just the same. Changing the software clock setting to 4Mhz makes the program execute slower again. Help me please? How can I achieve faster execution time (except from changing the program delays to faster one).