the problem is that when the Serial receives a letter, let's say "s" it stays inside the loop forever and the motors keep on moving,
It doesn't have to. Simply set BluetoothData to ' ', after using the value.
the problem is that when the Serial receives a letter, let's say "s" it stays inside the loop forever and the motors keep on moving,
It doesn't have to. Simply set BluetoothData to ' ', after using the value.