I stucked on bluetooth signal problem


#1

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);
}
}


#2

Hi @BongSeok_Lee, see this thread http://forum.makeblock.cc/t/me-bluetooth-character-reception/955, also consider using the “HW port 5” instead of port 4.
(BTW I am not Makeblock employee, just a guy who went through similar problems).


#3