esp_arduino_stuff

This commit is contained in:
2021-04-09 20:57:43 +02:00
commit aec5f79331
423 changed files with 193252 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#include "BluetoothSerial.h"
BluetoothSerial SerialBT;
void setup() {
Serial.begin(115200);
SerialBT.begin("ESP32test"); //Name des ESP32
Serial.println("Der ESP32 ist bereit. Verbinde dich nun über Bluetooth.");
}
void loop() {
if (Serial.available()) {
SerialBT.write(Serial.read());
}
if (SerialBT.available()) {
Serial.write(SerialBT.read());
}
delay(25);
}