| ??? 12/12/03 20:42 Read: times |
#60527 - RE: back to basics Responding to: ???'s previous message |
Andy wrote:
I went to Code Architect and generated the clock module for a CPU frequency of 7.3728MHz. I then went and generated the timer module, timer 0 periodic overflow with an overflow every 10ms. In the main function I called both the osc and timer init functions and set EA = 1. I modified the timer 0 ISR to toggle pin P2.0 every 10th time the ISR is called. Built. Ran. LED on the toggled pin flashes. I have been trying as hard as I can to make this thing to work. I do exactly everything you or anyone else posts in this forum. well, if so why have you not posted that it works now. Erik PS what happened to my request for you to examine TCON and TMOD at entry and exit of the ISR which probably wouild have solved your problem. |



