Sep 8, 2007 #1 F flemmard Newbie level 3 Joined Sep 8, 2007 Messages 4 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,309 visual basic and microcontroller HI all, I'm newbie here.I wish to send 5 hexadecimal digit from PIC16f877 to VB6 using serial comunication.Can you please help me how to do that?Please explain me with source code. Please assume my hexadecimal value is 1234Dh Thanks
visual basic and microcontroller HI all, I'm newbie here.I wish to send 5 hexadecimal digit from PIC16f877 to VB6 using serial comunication.Can you please help me how to do that?Please explain me with source code. Please assume my hexadecimal value is 1234Dh Thanks
Sep 9, 2007 #2 penoy_balut Full Member level 2 Joined Sep 8, 2007 Messages 147 Helped 26 Reputation 52 Reaction score 10 Trophy points 1,298 Activity points 1,943 16f877 vbasic on the PC side, make a project in VB, add MSComm control, set to any baud rate and handshaking you like, write code on OnComm Event. while in PIC, set baud rate, send your five digit hex data as string (char) and reassemble in VB.
16f877 vbasic on the PC side, make a project in VB, add MSComm control, set to any baud rate and handshaking you like, write code on OnComm Event. while in PIC, set baud rate, send your five digit hex data as string (char) and reassemble in VB.
Sep 9, 2007 #3 F flemmard Newbie level 3 Joined Sep 8, 2007 Messages 4 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,309 16f877 microcontroller Hi, thanks for your reply.I can code in VB for PC side...On PIC side, i dont know how to store value(5 hexa decima) in EEPROM.Can you help me? THanks Added after 45 seconds: penoy_balut said: on the PC side, make a project in VB, add MSComm control, set to any baud rate and handshaking you like, write code on OnComm Event. while in PIC, set baud rate, send your five digit hex data as string (char) and reassemble in VB. Click to expand... Hi, thanks for your reply.I can code in VB for PC side...On PIC side, i dont know how to store value(5 hexa decima) in EEPROM.Can you help me? THanks
16f877 microcontroller Hi, thanks for your reply.I can code in VB for PC side...On PIC side, i dont know how to store value(5 hexa decima) in EEPROM.Can you help me? THanks Added after 45 seconds: penoy_balut said: on the PC side, make a project in VB, add MSComm control, set to any baud rate and handshaking you like, write code on OnComm Event. while in PIC, set baud rate, send your five digit hex data as string (char) and reassemble in VB. Click to expand... Hi, thanks for your reply.I can code in VB for PC side...On PIC side, i dont know how to store value(5 hexa decima) in EEPROM.Can you help me? THanks