mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-14 07:49:01 +00:00
Updated featheresp32 config to use Serial2 for Mbus
This commit is contained in:
parent
b2174dd521
commit
4e24e2949a
@ -27,7 +27,7 @@ You can also use a ESP based development board and combine this with a M-Bus mod
|
||||
- Jump GPIO4 to GND to force AP mode during boot
|
||||
|
||||
[Adafruit HUZZAH32](https://www.adafruit.com/product/3405)
|
||||
- M-Bus connected to RX
|
||||
- M-Bus connected to GPIO16
|
||||
|
||||
|
||||
Combine one of above board with an M-Bus module. Connect 3.3v and GND together between the boards and connect the TX pin from the M-Bus board to the dedicated M-Bus pin on the ESP board.
|
||||
|
||||
@ -51,7 +51,7 @@ SoftwareSerial *hanSerial = new SoftwareSerial(D1);
|
||||
#define LED_ACTIVE_HIGH 1
|
||||
#define AP_BUTTON_PIN INVALID_BUTTON_PIN
|
||||
|
||||
HardwareSerial *hanSerial = &Serial;
|
||||
HardwareSerial *hanSerial = &Serial2;
|
||||
|
||||
// Default build settings
|
||||
#else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user