Ok I already tried flowcode v4 but still Im having problems sending char is solved but still recieving char is the problem
http://sodoityourself.com/max232-serial ... converter/
thats my connection max232 and pic16f877a. btw in sending data im using hyperterminal and vb6 and sending data is fine if the character send is "1" the output in the hyperterminal is "1"
in receiving data heres my code in vb6
Code: Select all
Private Sub Command1_Click()
MSComm1.Output = "1"
End Sub
Private Sub Command2_Click()
MSComm1.Output = "0"
End Sub
Private Sub Form_Load()
With MSComm1
.CommPort = 1
.Settings = "9600,n,8,1"
.RThreshold = 1
.InputLen = 0
.PortOpen = True
End With
End Sub
when I try to press command button 1 w/c is "1" nothing happens.
now heres the scenario if the receiving character or data is "1" or 49 in bytes in flowcode the led in port A will be high at port 0 and then if the receiving character or data is "0" or 48 in bytes in flowcode the led in port A will be low port 0, nothing happens I dont know what is the problem im new in flowcode rs232 receiving and sending characters data
Uploaded with
ImageShack.us
hope you can help me on this thanks by the way DavidA I already see the examples. but still problem is receiving characters