sending data from VB6 to PIC18F458 problem

Thread Starter

farahin

Joined May 30, 2011
2
hii.. i'm new to VB6 and PIC.. i have problem to send data from VB6 to PIC.. actually my project is to measure current temperature and control on/off valve using zigbee module..

The problem is when i click command button in VB6, the PIC doesn't receive the signal. I'm not sure on the coding in VB and PIC. Is it correct to send a character in VB6 to PIC? Can PIC receive a character?

My VB coding:
Private Sub Command1_Click()
MSComm1.Output = ??
End Sub

can anyone give example on the coding..plz help me..
 

beenthere

Joined Apr 20, 2004
15,819
The problem is when i click command button in VB6, the PIC doesn't receive the signal. I'm not sure on the coding in VB and PIC. Is it correct to send a character in VB6 to PIC? Can PIC receive a character?
What interface/hardware exists to make it possible for the PC to communicate with the PIC?
 

Thread Starter

farahin

Joined May 30, 2011
2
I'm using Zigbee module which transmit data wirelessly from PC to PIC..Is it possible for VB to give command to PIC? i mean wirelessly transmit the command from VB to PIC..
 
Top