This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How can i read a char with 8051 from a char sent by Visual basic?

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?

Parents
  • "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...

Reply
  • "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...

Children
No data