HC-05蓝牙模块与Arduino通信测试

2016-01-04  本文已影响0人  张建飞

VCC --> 5V
GND --> GND
TX --> RX
RX --> TX

- 测试代码
  ```
#include <SoftwareSerial.h>
SoftwareSerial Conn(10, 11); //RX, TX
void setup() {
// put your setup code here, to run once:
Conn.begin(38400);
}
void loop() {
// put your main code here, to run repeatedly:
Conn.println("Test Transmission String.");
delay(600);
}
串口调试输出
上一篇下一篇

猜你喜欢

热点阅读