??? 11/14/06 18:44 Read: times |
#127983 - Delay, Baudrate, Freq, etc. Responding to: ???'s previous message |
Hello,
<pre> MOV TH1,#0F2H ;sets reload value for baud rate Jon: This is where the timer is loaded for the baud rate. I tried different baudrates, starting with 9600 (0FDh). The delay calls on a 1 second timer. Its just to give the uC some time before it RETI back after displaying it on the LCD. Clock frequency is 12MHz. Andy: The wrLCDcom just calls on a routine that will write to the LCD. I just put it in here just to show it. The LCD is not the problem. Thanks for formatting the code Jon <pre> |
Topic | Author | Date |
Serial interface- Displaying SBUF data on LCD. | 01/01/70 00:00 | |
what device? | 01/01/70 00:00 | |
Just the 'integral part' Part of code | 01/01/70 00:00 | |
you still did not tell the derivative | 01/01/70 00:00 | |
Formatted Code | 01/01/70 00:00 | |
Missing code | 01/01/70 00:00 | |
Delay | 01/01/70 00:00 | |
Delay, Baudrate, Freq, etc. | 01/01/70 00:00 | |
Missing Code | 01/01/70 00:00 | |
Here's the wrLCDcom SR | 01/01/70 00:00 | |
is DELAY_5_1MS timer based? | 01/01/70 00:00 | |
Yes DELAY_5_1MS is timer based | 01/01/70 00:00 | |
so, you call one device generating an interrupt fr | 01/01/70 00:00 | |
Already tried that | 01/01/70 00:00 | |
then keep it that way | 01/01/70 00:00 | |
Here's the entire code.... | 01/01/70 00:00 | |
I quick look, not an analysis![]() | 01/01/70 00:00 | |
Have a look at this | 01/01/70 00:00 | |
Deriviative??? | 01/01/70 00:00 | |
Derivative | 01/01/70 00:00 | |
Oops... Derivative..gotcha | 01/01/70 00:00 | |
OK | 01/01/70 00:00 | |
TI & RI | 01/01/70 00:00 |