I am wondering if there are any example micropython serial command line interfaces?
What would I have to do to make a non-blocking serial CLI for simple commands?
TMR1 300 – set timer 1 for a 300 sec count down
RLY1 on – turn relay 1 on or off
ADC1 – read adc channel 1
When I do searches for something like this I get the REPL or something else which doesn’t help.
I would like to work with a Nextion display using micropython, would you know of any drivers or examples?
You can use the UART module to interact with the nextion display via serial: https://docs.micropython.org/en/latest/library/pyb.UART.html?highlight=uart
See this discussion about interfacing Nextion with the ESP32 using MicroPython: https://forum.micropython.org/viewtopic.php?t=4418
I hope this helps.