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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/23/08 12:45
Read: times


 
#158556 - If Key == '1' Then
Responding to: ???'s previous message
Separate the task of monitoring A away from detecting Key=='1'.

Make a global memory flag (byte =/!= 0 or bit variable) that you set on and off via the Key=='1' condition.

Then in the SuperLoop have one more simple activity that looks at this global memory flag and process the A monitoring if this global flag is set.

Michael Karas


List of 22 messages in thread
TopicAuthorDate
Multi Threading in C for 89S8253            01/01/70 00:00      
   effective?            01/01/70 00:00      
   Protothreads            01/01/70 00:00      
   What do you mean?            01/01/70 00:00      
   What actually you are looking for            01/01/70 00:00      
      Seek Help ! for Serial Communication            01/01/70 00:00      
         start a new thread            01/01/70 00:00      
            Good reply...            01/01/70 00:00      
               hehe...            01/01/70 00:00      
                  purpose            01/01/70 00:00      
                     What tasks?            01/01/70 00:00      
                        tasks            01/01/70 00:00      
                           Superloop            01/01/70 00:00      
                              ok...one more thing            01/01/70 00:00      
                                 If Key == '1' Then            01/01/70 00:00      
                                    statemachine            01/01/70 00:00      
                                       An alternative            01/01/70 00:00      
                                          why not in FAQ or personal page?            01/01/70 00:00      
                                             Yes            01/01/70 00:00      
   An alternative ?            01/01/70 00:00      
      Your Mileage May Vary            01/01/70 00:00      
   thanks alot            01/01/70 00:00      

Back to Subject List