??? 09/12/07 00:53 Read: times |
#144402 - Multi-use timers Responding to: ???'s previous message |
Gerd Field said:
Because I do not know how to implement the timer when the logic control processing.If only one process can use the software delay to implement the timer ,but two or above processes,the 51 can not work. First, the P89C51RD2 has three timers. Second, if those three timers are not enough, you can use a single timer to measure multiple events. In a recent project I used a single timer to schedule six different events and the program was not multi-tasking. It was more complicated to code than if I had had six timers available, sure, but most definitely possible with an RTOS. Regards, Craig Steiner |