Attempt to remove json library and use existing comms

This commit is contained in:
KonradIT
2025-01-21 00:06:09 +01:00
parent cbccc60906
commit 3f69b1820f
6 changed files with 18 additions and 87 deletions
+7
View File
@@ -75,6 +75,13 @@ bool Comms::initComms(Config &c)
// if Serial is USBCDC...
Serial.onEvent(ARDUINO_USB_CDC_RX_EVENT, _onUsbEvent0);
#endif
#if SEEK_ON_X
#define SERIAL_PORT 1
HardwareSerial SerialPort(SERIAL_PORT);
SerialPort.begin(115200, SERIAL_8N1, RX_PIN, TX_PIN);
Comms1 = new ReadlineComms("Host", SerialPort);
#endif
Serial.begin();
Serial.println("Initialized communications on Serial using readline protocol");