Replies: 1 comment 4 replies
-
| 
         Don't config those gpios as "Serial", as this is for Tasmota using it outside of Berry. If you want visibility in gpio config and/or an abstraction level, you could reserve the gpios for Berry by configuring them as  If you want to follow input, you should be using polling at short intervals, typically by coding it as a driver and having a   | 
  
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to write a serial bridge between UART1 (GPIO9/10) and UART2 (GPIO16/17) that passes data between UART1<>UART2. When a special command is detected on UART1 for example, I won't pass it to UART2, but reply with custom text. Could someone please give some working example how to use uart 1 and 2 with Berry and all steps needed to configure Tasmota device for it?
For example, I use below berry code to test UART1:
I run it in Tasmota Berry Console and get this:
So looks like working, but I don't get any output on physical uart. I also write data in a loop from PC terminal and data is not showing here (No RX data on UART1).
Maybe I'm doing something wrong in Template or Module configuration?
I set GPIO9 to SerialRX and GPIO10 to SerialTX. Is this enoug? I use ESP32 devkit v4
Beta Was this translation helpful? Give feedback.
All reactions