Bluetooth 阿杜伊诺+;以太网屏蔽+;蓝牙HC-05
我想通过蓝牙将Arduino Uno连接到其他设备。它可以工作,直到我添加了一个以太网屏蔽 该行在模式下中断蓝牙:Bluetooth 阿杜伊诺+;以太网屏蔽+;蓝牙HC-05,bluetooth,arduino,ethernet,Bluetooth,Arduino,Ethernet,我想通过蓝牙将Arduino Uno连接到其他设备。它可以工作,直到我添加了一个以太网屏蔽 该行在模式下中断蓝牙:EthernetServer服务器(80) 使用以太网屏蔽时,不能使用引脚4、10、11、12和13。因此,如果您将其中一个用于SoftwareSerial,这就是原因。什么引脚是BTSerial使用的?我找到了相同的答案。谢谢! void setup() { pinMode(9, OUTPUT); Serial.begin(9600); BTSerial.begin
EthernetServer服务器(80)代码>
使用以太网屏蔽时,不能使用引脚4、10、11、12和13。因此,如果您将其中一个用于SoftwareSerial,这就是原因。什么引脚是BTSerial
使用的?我找到了相同的答案。谢谢!
void setup() {
pinMode(9, OUTPUT);
Serial.begin(9600);
BTSerial.begin(38400); // HC-05 default speed in AT command more
Ethernet.begin(mac, ip);
server.begin();
}