python3 and nextion.py
Posted: Mon Jun 10, 2024 7:55 pm
How is this supposed to work? What am missing here?
I'm assuming that this version of nextion.py (under Bookworm in Pi-Star 4.3.0) is supposed to allow me to update a Nextion display's firmware while it's still attached to the HAT - in situ, correct? (Currently, it's a pain disassembling, unplugging, inserting a microSD, etc. just to make a firmware change!)
Do I need to stop the NextionDriver and MMDVMHost tasks first? Or is there a config setting or parameter somewhere that's missing or incorrect?
Code: Select all
╔═pi-star@pi-star-pi5(rw)═[/usr/local/etc]
╚═$: sudo python3 /usr/local/bin/Nextion/nextion.py /usr/local/bin/Nextion/MISC/NX3224T024-SV5BYP-DUPLEX-L3-DMRver2_2.tft /dev/ttyAMA0 NX3224T024
Trying with baudrate: 2400...
Trying with baudrate: 4800...
Trying with baudrate: 9600...
Trying with baudrate: 19200...
Trying with baudrate: 38400...
Trying with baudrate: 57600...
Trying with baudrate: 115200...
Trying with baudrate: 230400...
Could not find baudrate
Do I need to stop the NextionDriver and MMDVMHost tasks first? Or is there a config setting or parameter somewhere that's missing or incorrect?