| ??? 01/30/04 16:11 Read: times |
#63688 - RE: 8051 clock Responding to: ???'s previous message |
Ok, missed that one.
If you set the timer in counter mode and feed it the power frequency, you need prine it with -60 and use auto-reload mode. With the proper bits set in the interrupt and timer registers you will get an interrupt every second. Of course, if you prime with -6 you will get one every tenth of second. SAFETY: get the 60HZ from the secondary of a transformer. Erik |
| Topic | Author | Date |
| 8051 clock | 01/01/70 00:00 | |
| RE: 8051 clock | 01/01/70 00:00 | |
| RE: 8051 clock | 01/01/70 00:00 | |
| RE: 8051 clock | 01/01/70 00:00 | |
| RE: 8051 clock | 01/01/70 00:00 | |
| RE: 8051 clock | 01/01/70 00:00 | |
| RE: 8051 clock | 01/01/70 00:00 | |
| RE: 8051 clock | 01/01/70 00:00 | |
| RE: 8051 clock | 01/01/70 00:00 | |
| RE: 8051 clock | 01/01/70 00:00 | |
RE: 8051 clock | 01/01/70 00:00 | |
| RE: 8051 clock | 01/01/70 00:00 | |
| RE: 8051 clock | 01/01/70 00:00 | |
| RE: 8051 clock Tutorial | 01/01/70 00:00 |



