Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
co2ampel
ampel-firmware
Commits
171dc5af
Commit
171dc5af
authored
Mar 24, 2022
by
Eric Duminil
Browse files
Smaller buffer
parent
39d61b53
Pipeline
#6045
failed with stage
in 1 minute and 29 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ampel-firmware/co2_sensor.cpp
View file @
171dc5af
...
@@ -21,7 +21,7 @@ namespace config {
...
@@ -21,7 +21,7 @@ namespace config {
# include "src/lib/Esp8266EdgeSoftwareSerial/MySoftwareSerial.h"
# include "src/lib/Esp8266EdgeSoftwareSerial/MySoftwareSerial.h"
# define S8_RX_PIN 13 // GPIO13, a.k.a. D7, connected to S8 Tx pin.
# define S8_RX_PIN 13 // GPIO13, a.k.a. D7, connected to S8 Tx pin.
# define S8_TX_PIN 15 // GPIO15, a.k.a. D8, connected to S8 Rx pin.
# define S8_TX_PIN 15 // GPIO15, a.k.a. D8, connected to S8 Rx pin.
MySoftwareSerial
S8_serial
(
S8_RX_PIN
,
S8_TX_PIN
);
MySoftwareSerial
S8_serial
(
S8_RX_PIN
,
S8_TX_PIN
,
false
,
16
);
// 16 bytes buffer should be enough.
#endif
#endif
#if defined(ESP32)
#if defined(ESP32)
// GPIO16 connected to S8 Tx pin.
// GPIO16 connected to S8 Tx pin.
...
...
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