I want to recieve right joystick signal.
first, I sended joystick direction signals from IOS makeblock app to arduino.
next, on monitor, i can’t understand this signal.
like this -> ððôððôððôððôððôô
How can i change these signals into right signals?
arduino sample codes:
MeBluetooth bluetooth(PORT_4);
void setup()
{
Serial.begin(9600);
bluetooth.begin(9600);
Serial.println(“Bluetooth Start!”);
}
void loop()
{
char inDat;
char outDat;
if(bluetooth.available())
{
inDat = bluetooth.read();
Serial.print(inDat);
}
if(Serial.available())
{
outDat = Serial.read();
bluetooth.write(outDat);
}
}