Hi,
I'll try to command a Servo with my phone, everything goes well but when it send (from phone to arduino) a lot of data (angle for the servo) I got this error:
Out of bounds error. Array length = 1, Index = 1
I've send the data directly or with B4Rserialisator to the arduino but always the same error when I slide the seekbar quickly.
the StackBufferSize and the MaxBufferSize = 1000
Any idea of how should I done to send the data and don't have any error?
Thanks
Luc
I'll try to command a Servo with my phone, everything goes well but when it send (from phone to arduino) a lot of data (angle for the servo) I got this error:
Out of bounds error. Array length = 1, Index = 1
I've send the data directly or with B4Rserialisator to the arduino but always the same error when I slide the seekbar quickly.
the StackBufferSize and the MaxBufferSize = 1000
Any idea of how should I done to send the data and don't have any error?
Thanks
Luc