I will give that a try, but that will not suit my application. This is how I am trying to write to my 4D Systems display, I was hoping to minimize having to do a bajillion serout commands, and instead setup an array for the text.
Code:myarray var byte[20] arraywrite myarray, ["Hello World",0] serout2 tx, baud, ["s", 0, 1, 2, white1, white2, myarray, $00] gosub wait1 'check for ACK from display
Shawn
Try
Code:LCDOUT $FE,$80, STR myarray
Thanks! Exactly what I needed!
Shawn
Do same for SEROUT2. STR sends bytes until it reaches byte with value 0. So always keep last byte in array cleared, because pbp doesn't check boundary.
Or use STR myarray\x where x is the number of bytes.
Ioannis
Bookmarks