AHA...
That's where I'm stuck ....at step 1 I mentioned earlier ...
1. Capture all 4 lines into and array each one is 4 bytes and a checksum byte so array needs to receive 20 bytes total.
I this is the line I am using to receive the data
Code:
DEBUGIN [WAIT(SYNK),WNUM,XNUM,YNUM,ZNUM,CHECKSUM]
' wait for SYNK, when received store next 4 bytes in variables WNUM,XNUM,YNUM,ZNUM
'then send these to hyperterminal or serial program or wherever
What must be changed in order for me receive it 4 times and build the array?
I was playing around with this as a start..but it's here where I am stuck!
Code:
For counter=0 To 19
DEBUGIN [WAIT(SYNK),WNUM,XNUM,YNUM,ZNUM,CHECKSUM]
' wait for SYNK, when received store next 4 bytes in variables WNUM,XNUM,YNUM,ZNUM
'then send these to hyperterminal or serial program or wherever
counter=counter+1
Next
As always any help would be appreciated
Kind regards
Dennis
Bookmarks