I can connect and interact with server.
My problem is SerialESPPassthrough doesn't echo back the data I send it from Serial1.
On startup, Teensy Serial1 receives text report from AirLift (e.g., rst:0x1 (POWERON_RESET),boot:0x12
yet, when I enter data to Teensy through Serial Monitor, the AirLift does not echo this data back.
I have tried on two systems so I know the wiring is correct and processors function.
Code: Select all
#define SerialESP32 Serial1
#define SPIWIFI SPI // The SPI port
// my wiring
#define SPIWIFI_SS 10 // Chip select pin
#define ESP32_RESETN 41 // Reset pin
#define SPIWIFI_ACK 9 // a.k.a BUSY or READY pin
#define ESP32_GPIO0 40
I have Serial 1 wired
Teensy pin 0 (rx1) to TXO
Teensy pin 1 (tx1) to RXI
I receive chars entered from Serial Monitor and send them to the Airlift; however, outside of during boot, no chars come back from the AirLift.
void loop() {
// send data to AirLift
while (Serial.available()) {
char c = Serial.read();
Serial.println(c);
SerialESP32.write();
}
// get data from AirLift
while (SerialESP32.available()) { // BESIDES BOOT, NO DATA AVAILABLE
Serial.write(SerialESP32.read());
}
}
thanks,
Richie