Convert VALUE to MSB/LSB
Podion
Posts: 90
Hello
I have a problem to fit a VARIABLE in MSB and LSB.
For exemple if I want to send the VARIABLE = 2310 I have to make the MSB=$09 and the LSB=$06 but I dont find the code to do this.
Can you help me ?
Thank you
I have a problem to fit a VARIABLE in MSB and LSB.
For exemple if I want to send the VARIABLE = 2310 I have to make the MSB=$09 and the LSB=$06 but I dont find the code to do this.
Can you help me ?
Thank you
Comments
lsb := variable.byte[0]
Thank you Tracy Allen !