| ??? 12/15/04 17:43 Read: times |
#83173 - Tips and Tricks.....Andy Responding to: ???'s previous message |
Thanks so much for the constructive comments.
Quite frankly those typedefs are the result of the guidelines given by M.J.Pont in his Embedded C book. I somehow liked the concept and thought will use it. In fact after posting the code I realised that I forgot to mention the MCU and Clock details - it was a 89c52 with a 12Mhz crystal. The points about the delay are quite obvious and I never used this delay after the initial stages. I had modified the code with a interrupt based delay and also used the Busy bit of the LCD in the next code that I wrote - worked fine! The only thing that went over my head was this You should define cntr_1, cntr_2 as volatile - otherwise the compiler may completely optimise this code away! Could you revert on that ? Thanks again. Raghu |
| Topic | Author | Date |
| Help LCD--89C51 using KEIL | 01/01/70 00:00 | |
| RE | 01/01/70 00:00 | |
| Keil? | 01/01/70 00:00 | |
| Keil App Notes | 01/01/70 00:00 | |
| Assembler programmer learning C? | 01/01/70 00:00 | |
| So what happened to the USB, then? | 01/01/70 00:00 | |
| The wanted code... | 01/01/70 00:00 | |
| code | 01/01/70 00:00 | |
| Tips and Tricks.....Andy | 01/01/70 00:00 | |
| volatile. | 01/01/70 00:00 | |
| Not so volatile ? | 01/01/70 00:00 | |
| optimiser | 01/01/70 00:00 | |
| Volatile warning? | 01/01/70 00:00 | |
| not here | 01/01/70 00:00 | |
| re: volatile | 01/01/70 00:00 | |
| volatile | 01/01/70 00:00 | |
| Another comment - symbolic names | 01/01/70 00:00 | |
| c code for lcd | 01/01/70 00:00 | |
| code | 01/01/70 00:00 | |
| symbolic Port names | 01/01/70 00:00 | |
| There's Gratitude for you! :-( | 01/01/70 00:00 | |
A better method in C | 01/01/70 00:00 |



