UART Rx buffer event callback?



  • Hi there,

    Is there a clean way to define a callback whenever there's an event on the Rx buffer (like UART_DATA or UART_FIFO_OVF as in the ESP32 IDF) ? I could do something with a Timer.alarm callback which checks periodically for a change in uart.any(), but I was looking for something more substantially.

    Thanks,
    Martijn


Log in to reply
 

Pycom on Twitter