• Rodrigo Garcia's avatar
    Adds a new example: onReceiveExample.ino (#9415) · 63453505
    Rodrigo Garcia authored
    * feat: onReceiveExample.ino
    
    Adds a new example that uses HardwareSerial::onReceive(). The example demosntrates how to read all the data sent to UART0, considering that the end of transmission is defined by a period of time with UART in idle state.
    
    * fix: onReceiveExample.ino
    
    Fixes typos
    
    * feat: add explanation header
    
    * fix: mutex release
    
    * fix: add Mutex verification
    
    * feat: Mutex error message
    
    * feat: Mutex NULL testing
    63453505
onReceiveExample.ino 5.61 KB