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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/07/05 13:07
Read: times


 
#100745 - how to read data??
hello.. i am a newbie and using 8051 Micro controller. i have a problem and hoping that some of you guys can help me... i am getting a data strings of '1' and '0' from a radio receiver. I am trying to control a movement of 2 motors with the data that is received. i am using the edge triggered external interrupt to determine the start of the data bits. as an example.. i will receive a string of 10111. the first two bits will trigger the edge trigger interrupt and the last three bits will be the data bit and means that the motor moves forward. how is it possible to read the data bits and send it to the motor to move forward? i have done the external interrupt using C. I just can't figure out on how to read the data... the cycle time is 10ms. because the external interrupts happen at P3.3 is it ok if the data comes in through there to?

List of 9 messages in thread
TopicAuthorDate
how to read data??            01/01/70 00:00      
   I think this is two problems            01/01/70 00:00      
   STOP            01/01/70 00:00      
   need a helping hand....            01/01/70 00:00      
      Once more            01/01/70 00:00      
         specific            01/01/70 00:00      
         radio receiver            01/01/70 00:00      
            Step by step            01/01/70 00:00      
            go ahead and burn your motor            01/01/70 00:00      

Back to Subject List