Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Thread Closed: Issue successfully resolved

???
02/05/04 08:46
Read: times


 
#64039 - RE: 8051 with 20x2 LCD - Russell
Responding to: ???'s previous message
hi,
Obviously polling for the ready bit is more time efficient

Not always. For example, some my programs use next way.
There is my own _LCDprints() which accepts string pointer as input. This function prepares some data and set ups timer 2 to interrupts at each 0.1 ms. Then it runs timer and quits. It is all. ISR of timer 2 puts chars by itself each 100us till NULL-terminator has been reached.
By this way a program does pay time neither for polling nor in dummy loop. By programming terms, it creates separate task and continues work in own one.

Regards,
Oleg

List of 32 messages in thread
TopicAuthorDate
8051 with LCD            01/01/70 00:00      
   RE: 8051 with LCD            01/01/70 00:00      
      RE: 8051 with LCD            01/01/70 00:00      
      RE: 8051 with LCD            01/01/70 00:00      
      RE: 8051 with LCD            01/01/70 00:00      
         RE: 8051 with LCD            01/01/70 00:00      
   RE: 8051 with LCD            01/01/70 00:00      
   RE: 8051 with LCD            01/01/70 00:00      
      RE: 8051 with LCD            01/01/70 00:00      
   RE: 8051 with LCD            01/01/70 00:00      
   8051 with 20x2 LCD            01/01/70 00:00      
      RE: 8051 with 20x2 LCD            01/01/70 00:00      
      RE: 8051 with 20x2 LCD            01/01/70 00:00      
         RE: 8051 with 20x2 LCD            01/01/70 00:00      
            RE: 8051 with 20x2 LCD            01/01/70 00:00      
               RE: 8051 with 20x2 LCD            01/01/70 00:00      
                  RE: 8051 with 20x2 LCD            01/01/70 00:00      
                     RTFM            01/01/70 00:00      
                        Could not agree more!            01/01/70 00:00      
                        RE: RTFM            01/01/70 00:00      
                        RE: RTFM            01/01/70 00:00      
                     RE: 8051 with 20x2 LCD - Russell            01/01/70 00:00      
                        RE: 8051 with 20x2 LCD - Russell            01/01/70 00:00      
                           RE: 8051 with 20x2 LCD - Russell            01/01/70 00:00      
                              RE: 8051 with 20x2 LCD - Oleg            01/01/70 00:00      
      RE: 8051 with 20x2 LCD - Kapil            01/01/70 00:00      
         RE: 8051 with 20x2 LCD - Kapil            01/01/70 00:00      
            RE: 8051 with 20x2 LCD - Kapil            01/01/70 00:00      
               RE: 8051 with 20x2 LCD            01/01/70 00:00      
                  RE: 8051 with 20x2 LCD            01/01/70 00:00      
            RE: 20x2 LCD = 16x2 LCD !            01/01/70 00:00      
               RE: 20x2 LCD = 16x2 LCD !            01/01/70 00:00      

Back to Subject List