Re: Confused by Arraywrite
Richard, After chatting with Charles, I decided to eliminate the "lookup2" statement and just pass the array variable to the serial buffer routine. All is working now. Nice and neat. Here is the code:
'************************************************* ********************
SERIALOUT2: 'OUTPUT SERIAL STRING TO PORT 2
'************************************************* ********************
BYTEIN = 0
WHILE OUTARRAY(BYTEIN)
TX_BYTES2(TX_OUTPUT2) = OUTARRAY(BYTEIN)
BYTEIN = BYTEIN + 1
GOSUB SNDCHAR2 'INCREMENT BUFFER POINTERS
WEND
RETURN
Dave Purola,
N8NTA
EN82fn
Bookmarks