??? 01/16/06 03:27 Read: times |
#107446 - continuation Responding to: ???'s previous message |
so, I'm still a little puzzled how to get a 16 bit timer and a baud rate generator out of one variable (TH1/TL1).
But, I'm having a bit of a timer with what's in the tutorial also. It says crystal_freq equ 11059200 tmr_cycle equ 12 tmr_sec equ crystal_freq / tmr_cycle f_20th_second equ tmr_sec * .05 reset_value equ 65536 - f_20th_second However, my assembly (asm51) barks loud and long about these lines. It doesn't like me assigning 11mhz to a variable, and when that fails, the rest doesn't work either (but I'm pretty sure it doesn't like .05 - for example). Thoughts? |
Topic | Author | Date |
two timers and uart | 01/01/70 00:00 | |
Where to find it | 01/01/70 00:00 | |
thanks | 01/01/70 00:00 | |
bible | 01/01/70 00:00 | |
step 1, step 2, step 3 | 01/01/70 00:00 | |
Count? | 01/01/70 00:00 | |
Yes | 01/01/70 00:00 | |
Split mode 3 timer c SDCC program | 01/01/70 00:00 | |
continuation | 01/01/70 00:00 | |
use 8052 instead | 01/01/70 00:00 | |
clarification | 01/01/70 00:00 | |
OK | 01/01/70 00:00 | |
any that has your chip in the devicelist | 01/01/70 00:00 | |
too slow | 01/01/70 00:00 | |
11059200 to big ! | 01/01/70 00:00 | |
Tutorial shows | 01/01/70 00:00 | |
Macros![]() | 01/01/70 00:00 |