I'm doing a project with 2 pc embedded with bluetooth and a 8051 connected to one of the pc. i haf design a program codes using VB to send a char to the serial comm port to 8051 when the 2 pc disconnects from each other. However i don't know how to write the codes for the 8051 to read the char sent by VB. can anyone help mi pls?
"how to write the codes for the 8051 to read the char sent by VB." The fact that it comes from VB is entirely irrelevant. Once set up correctl, The 8051 UART simply receives whatever serial data appears at its input - it makes absolutely no difference whatsoever whether that data came from VB, hypoterminal, another 8051, or whatever...