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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/31/09 09:09
Read: times


 
Msg Score: +2
 +2 Good Answer/Helpful
#161867 - It is one way
Responding to: ???'s previous message
But that is still not the standard way to program small systems.
A main loop and an the interrupts is all that is needed.

Start loop
-Poll keyboard ( or this can be in an interrupt)
-process keyboard
-look at tick count call timer function if needed
-display message in led dotmatrix ( if you are scanning this you may want this in its timer interrupt.
End Superloop

interupt:
say 100ms ( or what ever is needed
add 1 to tick counter

List of 28 messages in thread
TopicAuthorDate
Multi Tasking in 8051            01/01/70 00:00      
   No need            01/01/70 00:00      
   to get a taste of it...            01/01/70 00:00      
      Or Not            01/01/70 00:00      
         I am thinking of implementing the superloop            01/01/70 00:00      
            It is one way            01/01/70 00:00      
      microcontroller vs microprocessor            01/01/70 00:00      
         Broad range of microcontrollers            01/01/70 00:00      
   I need help again!!!            01/01/70 00:00      
   Timer + conditional loop.            01/01/70 00:00      
      How do I implement the Interrupt Driven Serail Comm?            01/01/70 00:00      
         Samples            01/01/70 00:00      
         Own work            01/01/70 00:00      
            I am also looking            01/01/70 00:00      
               So where did you get stuck?            01/01/70 00:00      
               it will not            01/01/70 00:00      
               That *is* the trouble with sample code!            01/01/70 00:00      
               look at code library            01/01/70 00:00      
                  You have to read and understand            01/01/70 00:00      
   Some useful links here            01/01/70 00:00      
      Wha shuld the value of TMOD?            01/01/70 00:00      
         what is in TMOD now?            01/01/70 00:00      
            it does not work            01/01/70 00:00      
               what happens to T1 when            01/01/70 00:00      
                  I don't know what happens to TI            01/01/70 00:00      
                     time for some basic debugging            01/01/70 00:00      
                        tx and gnd shorted            01/01/70 00:00      
                           New question, new thread            01/01/70 00:00      

Back to Subject List