Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
co2ampel
ampel-firmware
Commits
a63bbdac
Commit
a63bbdac
authored
2 years ago
by
Eric Duminil
Browse files
Options
Download
Email Patches
Plain Diff
Slowly adding code
parent
76433dcd
senseair_s8
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
ampel-firmware/co2_sensor.cpp
+3
-0
ampel-firmware/co2_sensor.cpp
with
3 additions
and
0 deletions
+3
-0
ampel-firmware/co2_sensor.cpp
+
3
-
0
View file @
a63bbdac
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets