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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/30/01 18:15
Read: times


 
#13668 - Reading multiple bytes with 8051
Hi Everyone

I have a quick question concerning serial communications between the 8051 and a tilt sensor that i am using. The sensor sends back 6 bytes of data to the 8051. My question is how do I tell the 8051 to read 6 bytes? I know 8 bits are in a byte so can I simply read the SBUF 48 times to receive all the information? I assume that the sensor knows to only send data when the buffer is ready to receive something

Thanks in advance

Thomas

List of 5 messages in thread
TopicAuthorDate
Reading multiple bytes with 8051            01/01/70 00:00      
RE: Reading multiple bytes with 8051            01/01/70 00:00      
RE: Reading multiple bytes with 8051            01/01/70 00:00      
RE: Reading multiple bytes with 8051            01/01/70 00:00      
RE: Reading multiple bytes with 8051            01/01/70 00:00      

Back to Subject List