-->
Page 1 of 1

Can't send 0x00 to UART

PostPosted: Mon Dec 28, 2015 11:24 am
by dkca
Because UART.Write uses string as input, it can't send (output) 0x00

Re: Can't send 0x00 to UART

PostPosted: Tue Jan 19, 2016 5:52 am
by TerryE
Lua strings can include any byte value including zero. You just have to escape it if you are using string literals

Re: Can't send 0x00 to UART

PostPosted: Wed Jan 20, 2016 12:15 am
by dkca
Problem solved. It was a bug in LuaLoader misleading me... Using Realterm does show 0x00 being sent.