| ??? 01/05/05 21:31 Read: times |
#84418 - BCD Responding to: ???'s previous message |
You need to convert the counter values into binary coded decimal
for example a value of 0x1f can be converted into units and tens or whatever you want to call them by :- Tens = 0x1f/10 Units = 0x1f-Tens which is a slightly quicker way of doing a modulo division. |
| Topic | Author | Date |
| Getting the timers value into decimal | 01/01/70 00:00 | |
| BCD | 01/01/70 00:00 | |
| printf | 01/01/70 00:00 | |
| Yes | 01/01/70 00:00 | |
| whoops | 01/01/70 00:00 | |
| 8051 timers in 16-bit mode...reg | 01/01/70 00:00 | |
| where to read, why not do | 01/01/70 00:00 | |
| RTFM! | 01/01/70 00:00 | |
many ways | 01/01/70 00:00 |



