- This topic has 3 replies, 3 voices, and was last updated 12 years, 4 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
|
Microcontroller › 8051 › send data serially on port
hi
i 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.
Couple of problems I can see.
1. Infinite loop is missing.
2. Logical error, if you want to send the string on the port which is stored in the array, why do you need the serial port.
1> though m not using while(1) loop,its giving values in SBUF……..
2> n m doing some experiment with that ,so i wanted to send array thr’ serial com…..i knw other methods will b benificial…..but y this is not working?????
if SBUF can hold values,then y it is not copying the same on port?
i have seen some xamples to send single value on port.
but again the same question arises, y port is not showing dat values???
plz help…..
you write the functions in interrupt.