Hi,
I need to display a live weight reading that I'm receiving through a HC-06 Bluetooth device.
I can see the data but its show as a continuous stream that looks like one long string.
Displayed in a text box it looks like this:
00+000000+000000+000000+000000
It behaves like a FIFO table
If I apply weight:
0000+000000+000022+000023
The values are signed aswell:
0000-000004-000022-000056
How do I manipulate this input to display "23 kg" or "-1 kg" (ignoring the unnecessary 0s)