Android Bluetooth joystick

With range -100/+100, some joystick positions do interfere with ETX (0x3):

X=59, Y=24 is transmitted as <2 2 3 1 96 3>
X=47, Y=59 is transmitted as <2 1 119 2 3 3>

In these two examples, a transmission error is generated as ETX is detected earlier than expected
I have modified the Arduino demo sketch to definitely address this situation

AndroLED V10 is attached to this message
I suggest to use the same decoding algorithm in your own program

EDIT:
replaced previousMillis = currentMillis - interval0.9;
by previousMillis = currentMillis - interval
0.5;
to avoid possible racing conditions

please download again (V10.1)