hi everybody
has anyone used the BluetoothCursors.pde example in processing android mode with arduino ?
the code in the example sends the X/Y of the cursor on the android device to the arduino over Bluetooth with the keitai library.
the funktion to send the data from the android device to arduino ist the bt.broadcast() funktion.
both codes work with no errors but i can not recognize the data correctly, i got some wierd numbers when i print the X and Y on the arduino IDE.
i think the code on the arduino is not correct.
i attached the processing code and arduino code so if someone has experinece with this , could probably hepl
thanks guys
processingCode-1.txt (3.63 KB)
processing related UI funktionen.txt (2.33 KB)
arduino-Bluet..txt (492 Bytes)