AHA...
That's where I'm stuck ....at step 1 I mentioned earlier ...
I this is the line I am using to receive the data1. Capture all 4 lines into and array each one is 4 bytes and a checksum byte so array needs to receive 20 bytes total.
What must be changed in order for me receive it 4 times and build the array?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
I was playing around with this as a start..but it's here where I am stuck!
As always any help would be appreciatedCode: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
Kind regards
Dennis






Bookmarks