How do you change the clock frequency that is used in the AVR Simulator? I've set it in Project|Options but that did not seem to change it in the Simulator.
Thanks.
How do you change the clock frequency that is used in the AVR Simulator? I've set it in Project|Options but that did not seem to change it in the Simulator.
Thanks.
When in debug mode go to Debug > AVR Simulator Options. The projects option select the chips frequency (crystal or internal). I guess the 2 should match but the simulator will be many times slower that the real chip, so....
Just to note that on my "average" PC the cycle counter in Hapsim tells me that AVR Studio simulator averages about 120,000 simulated cycles per second.
Cliff