- This topic has 1 reply, 2 voices, and was last updated 12 years ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
|
Microcontroller › 8051 › send data serially on port
hi
mi want to send array af strings serially to controller and i want o/p on port.
i have done program for it.i m getting values in SBUF,but not on port .plz suggest me something,,,,,,,,,
here is my pro.
I believe once you write something into the serial buffer SBUF it will get transmitted serially within no time (shifting bit by bit to serial pin). Hence no data exist in the SBUF after data transmission completes. Hence it is not possible to read back the same data from the SBUF to a port. (value = SBUF; //not possible)