Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
co2ampel
ampel-firmware
Commits
8d0cd12c
Commit
8d0cd12c
authored
Mar 21, 2022
by
Eric Duminil
Browse files
First time I get values, on ESP32
parent
6db31581
Pipeline
#6021
failed with stage
in 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ampel-firmware/ampel-firmware.ino
View file @
8d0cd12c
...
...
@@ -14,7 +14,8 @@
#define S8_TX_PIN 1 // Tx pin which the S8 Rx pin is attached to (change if it is needed)
# warning SOFTWARE_SERIAL
#else
#define S8_UART_PORT 1 // Change UART port if it is needed
// For ESP32 : RX on GPIO17, TX on GPIO16
#define S8_UART_PORT 2 // Change UART port if it is needed
# warning HARDWARE_SERIAL
#endif
/* END CONFIGURATION */
...
...
@@ -40,9 +41,6 @@ void setup() {
// Configure serial port, we need it for debug
Serial
.
begin
(
DEBUG_BAUDRATE
);
Serial
.
println
(
"XyLUT!"
);
Serial
.
println
(
"SALUT2!"
);
// First message, we are alive
Serial
.
println
(
""
);
Serial
.
println
(
"Init"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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