Commit a63bbdac authored by Eric Duminil's avatar Eric Duminil
Browse files

Slowly adding code

parent 76433dcd
......@@ -63,7 +63,10 @@ namespace sensor {
Wire.begin(12, 14); // ESP8266 - D6, D5;
#endif
#if defined(ESP32)
// For ESP32 : RX on GPIO17, TX on GPIO16
# define S8_UART_PORT 2 // Change UART port if it is needed
Wire.begin(21, 22); // ESP32
HardwareSerial S8_serial(S8_UART_PORT);
/**
* SCD30 ESP32
* VCC --- 3V3
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment