Hi everyone!
I'm trying communicating at first digital data between pic with picbasic pro and vb6 on the pc.
My problem is with variables in the pic code and vb6 source code.
At first step i tryed sending data from pic to pc.
serout2 portb.2,n9600,[dec B7]
B7 is a variable Word
in vb6
Private sub form load
mscomm1.commport=1
mscomm1.settings= "9600,n,8,1"
mscomm1.portopen=true
sdata=mscomm1.input
lbl1.caption=sdata
sdata is a variable.
when i debug the program with F8 everithing runs ok but i don't receive nothing in sdata, i don't understand, i've shearch on rentron site but i can't found the problem.
thanks in advance
ZERO