[Arduino]HC06 Bluetoothセンサー

Bluetoothでメッセージ通信を行います。

AndroidにAmarino 2.0 build 0.55をインストールします。

void setup() {
  Serial.begin(9600);
}

void loop() {
  char val;
  val = Serial.read();

  if((val>='a' && val <= 'z') || (val>='A' && val<= 'Z')){
    Serial.println(val);
  }
}

dav

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding

ん? どういうことだ?