how would i create a real time clock on the s100 board from denner-electronics? what i want to do is be able to log the secs,mins, hours etcetera that a certain digital i/o is on. thank you very much andre
There are examples in the C51 downloads area: http://www.keil.com/download/list/c51.htm
i have those examples actually trying to configure the timer0 example, but i just do not know how to set the interrupts to occur for example every 10ms, which would enable me to know that if the interrupt occurs 100 times, i have a second. i have lots of examples, and i know how to make the timer go into an interrupt, i just do not know how to configure that interrupt to occur at intervals i want it to
i just do not know how to configure that interrupt to occur at intervals i want it to If you had read "the bible" you would. Erik
The operation of the timers is described on pp6-8 in Chapter 3 of "the bible", cited earlier. You may also want to look at the 8051 & 8052 tutorials at http://www.8052.com/tutorial.phtml