hello to all !!!
I am using ADUC841 and i want do sent a string in that format (8 bit ,1 stop bit, odd - parity) I am writing in C51
how can i set the my MCU to output this string with parity ?????
how i a setup the UART to send with parity ???
my program
void main(void) { T3CON = 0x86; // Configure the baud rate 9600 T3FD = 0x08; SCON = 0x52;
printf("hello"); // the string i want to set with // odd pariy }
thanks in advance to the helpers
mayer
it does; however there is no means of using that feature in C.
Every time this subject comes up on the forum you state that it cannot be done in 'C', in spite of it being well documented in the Keil knowledge base. You have even been corrected on the forum by a member of Keil staff.
Why, then, do you persist in posting this misinformation?
In the forlorn hope that you might actually read some documentation and learn something here is a link:
http://www.keil.com/support/docs/1619.htm