Home Page Forums Tinylab HC-06 Reply To: HC-06

#169

kerem
Moderator

@lennart try using this:

void setup() {
Serial.begin(9600);
Serial1.begin(115200);
}
void loop() {
if (Serial1.available()) {
int inByte = Serial1.read();
Serial.write(inByte);
}

if (Serial.available()) {
int inByte = Serial.read();
Serial1.write(inByte);
}
}

  • This reply was modified 1 year, 9 months ago by  İsmet Ergin.