Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/arduino/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Bluetooth 阿杜伊诺+;以太网屏蔽+;蓝牙HC-05_Bluetooth_Arduino_Ethernet - Fatal编程技术网

Bluetooth 阿杜伊诺+;以太网屏蔽+;蓝牙HC-05

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

我想通过蓝牙将Arduino Uno连接到其他设备。它可以工作,直到我添加了一个以太网屏蔽

该行在模式下中断蓝牙:
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();
}