Normalize primary communication around UART
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
// Ignition Sense
|
||||
#define IGNITION_PIN 34
|
||||
|
||||
// Future RS485
|
||||
#define RS485_TX_PIN 21
|
||||
#define RS485_RX_PIN 22
|
||||
#define RS485_DE_PIN 23
|
||||
// UART over CAT5 to Pico dashboard
|
||||
#define UART_TX_PIN 21
|
||||
#define UART_RX_PIN 22
|
||||
|
||||
// RS-485/MAX3485 fallback only; not currently planned
|
||||
|
||||
@@ -50,7 +50,7 @@ void handleStatus() {
|
||||
|
||||
JsonObject network = doc.createNestedObject("network");
|
||||
network["wifi_enabled"] = true;
|
||||
network["rs485_connected"] = true;
|
||||
network["uart_connected"] = true;
|
||||
|
||||
String output;
|
||||
serializeJsonPretty(doc, output);
|
||||
|
||||
Reference in New Issue
Block a user