Pc -> data -> basic stamp hex problem
VICTOR MEDRANO
Posts: 2
I HAVE A STANGRE PROBLEM COMUNICATING MY VISUAL BASIC NET APPLICATION
TO BASIC STAMP· B2SX. WHEN I SEND DATA THE CHIP RECEPIVE LIKE HEX NUMBERS.
SEE PAR OF CODE
DATA· VAR Byte(1)
timer_1 var byte
SERIN 8\9,16780,1000,MAIN,[noparse][[/noparse]STR data\3]
·
·
IF (serial(0)="A") THEN·
······timer_1 = serial(1) & serial(2)
ENDIF
what i need is to send A3000 decimal not hex.
regards,
victor
TO BASIC STAMP· B2SX. WHEN I SEND DATA THE CHIP RECEPIVE LIKE HEX NUMBERS.
SEE PAR OF CODE
DATA· VAR Byte(1)
timer_1 var byte
SERIN 8\9,16780,1000,MAIN,[noparse][[/noparse]STR data\3]
·
·
IF (serial(0)="A") THEN·
······timer_1 = serial(1) & serial(2)
ENDIF
what i need is to send A3000 decimal not hex.
regards,
victor
Comments
Jeff T.
Edit: there are a few other problems I see too , lets just verify the serial side of things first.
Post Edited (Unsoundcode) : 4/16/2009 6:51:55 PM GMT