Bytes here are numbers ranging form -127...128 (or so). I need to send a number like 199 as a single "byte" to a another device that understands a byte as a number ranging from 0...255).
I found here that x=Bit.AND(199, 0xFF) does the conversion. But how to dim x in order to obtain that single "byte"?
I found here that x=Bit.AND(199, 0xFF) does the conversion. But how to dim x in order to obtain that single "byte"?