Hi, I have an array of 32 bytes. I need to send it to a Bluetooth module in HEX format. The only way I have been able to do it is,
I get many missing packages using this code. I get around 1 out of 8 missing packages. If I try the following code, it fails. I get a "Bad expression" error.Code:FOR I = 0 TO 31 SEROUT2 PORTC.1,84,[HEX2 SquaresArray[I]] NEXT I SEROUT2 PORTC.1,84,[","]
Any ideas on how I can do this? Thanks.Code:SEROUT2 PORTC.1,84,[hex2 STR SquaresArray\32, ","]
Bookmarks