hi,
I have an ESP32 hooked up to the Teensy 4.1 at Serial 3.
The teensy sends a json to the ESP that then Broadcasts it to my MQtt Server. This works without a problem, i have delay every 2 seconds.
However, Should The Esp32 receive a message, it needs to pass it on the the Teensy, for action.
I am having problems with this transmission, back to the Teensy. It doesn't seem to want to read it, I have a Flowcontrol pin, that i use that if the Teensy is Transmitting it pulls it high, then the ESP Knows it must receive, and if it is low then the ESP is clear to transmit. This works for Teensy --> ESP transmission, but not ESP --> Teensy transmission.
I have code that reads a start char '<' and End Char '>', this works great on the Teensy to ESP, but just cant switch it.
Any Ideas on how to run Bidirectional Serial
I have an ESP32 hooked up to the Teensy 4.1 at Serial 3.
The teensy sends a json to the ESP that then Broadcasts it to my MQtt Server. This works without a problem, i have delay every 2 seconds.
However, Should The Esp32 receive a message, it needs to pass it on the the Teensy, for action.
I am having problems with this transmission, back to the Teensy. It doesn't seem to want to read it, I have a Flowcontrol pin, that i use that if the Teensy is Transmitting it pulls it high, then the ESP Knows it must receive, and if it is low then the ESP is clear to transmit. This works for Teensy --> ESP transmission, but not ESP --> Teensy transmission.
I have code that reads a start char '<' and End Char '>', this works great on the Teensy to ESP, but just cant switch it.
Any Ideas on how to run Bidirectional Serial