We've been following this tutorial to connect a NXT 1.0 brick to a PC via Bluetooth.
We've been able to set up the communication, send and receive data in ASCII format.
However, whenever we try to send an integer and use it for calculations, it returns the wrong result.
For example, sending 60000:
TX: 00 09 00 05 60 EA 00 00 00
RX: 02 09 00
After adding 1, it returns the following:
TX: 00 13 0A 00 01
RX: 02 13 00 00 05 00 00 80 3F 00 ... (zeroes)
We've tried sending different numbers, but they all return the same value.
The NXT-G software is identical to that in the tutorial.
How does NXT-G handle the integer data type?