Update Discuter avec une ESP32 authored by Tom Dugué's avatar Tom Dugué
......@@ -55,11 +55,9 @@ void loop() {
}
```
# Connection Bluetooth #
Ici on va utilisé une librairie Bluetooth pour faire des connexions serialisé
on va utilisé la librairie `BluetoothSerial.h`
Couplé avec l'application [Serial Bluetotth Terminal](https://play.google.com/store/apps/details?id=de.kai_morich.serial_bluetooth_terminal) pour Android.
# Connexion Bluetooth #
Ici, on va utiliser une librairie Bluetooth pour faire des connexions sérialisées, la librairie `BluetoothSerial.h`
Couplé avec l'application [Serial Bluetotth Terminal](https://play.google.com/store/apps/details?id=de.kai_morich.serial_bluetooth_terminal) pour Android. On peut également utilisé les macros de l'application pour allumer et éteindre la led en appuyant sur un bouton.
Exemple de code :
```cpp
......@@ -126,6 +124,7 @@ void exeCommande()
return;
}
//default
SerialBT.println("Unknow command");
}
```