2020-06-29から1日間の記事一覧

ESP32でBluetoothシリアル通信

ESP32とPC間でBluetoothを介したシリアル通信をしてみます。 #include <BluetoothSerial.h> BluetoothSerial SerialBT; void setup() { SerialBT.begin("ESP32_bt_test"); //Bluetoothの名前設定 } void loop() { SerialBT.println("Hello World!"); delay(1000); }書き込めたら</bluetoothserial.h>…