mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-03-18 11:04:39 +01:00
Merge pull request #210 from phl0/moreNextions
Add more Nextion displays
This commit is contained in:
commit
0e9c26df64
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Nextion/NX3224K024.HMI
Normal file
BIN
Nextion/NX3224K024.HMI
Normal file
Binary file not shown.
BIN
Nextion/NX3224K024.tft
Normal file
BIN
Nextion/NX3224K024.tft
Normal file
Binary file not shown.
BIN
Nextion/NX3224K028.HMI
Normal file
BIN
Nextion/NX3224K028.HMI
Normal file
Binary file not shown.
BIN
Nextion/NX3224K028.tft
Normal file
BIN
Nextion/NX3224K028.tft
Normal file
Binary file not shown.
BIN
Nextion/NX3224T024.HMI
Normal file
BIN
Nextion/NX3224T024.HMI
Normal file
Binary file not shown.
Binary file not shown.
BIN
Nextion/NX3224T028.HMI
Normal file
BIN
Nextion/NX3224T028.HMI
Normal file
Binary file not shown.
BIN
Nextion/NX4024K032.HMI
Normal file
BIN
Nextion/NX4024K032.HMI
Normal file
Binary file not shown.
BIN
Nextion/NX4024K032.tft
Normal file
BIN
Nextion/NX4024K032.tft
Normal file
Binary file not shown.
BIN
Nextion/NX4024T032.HMI
Normal file
BIN
Nextion/NX4024T032.HMI
Normal file
Binary file not shown.
Binary file not shown.
BIN
Nextion/NX4832K035.tft
Normal file
BIN
Nextion/NX4832K035.tft
Normal file
Binary file not shown.
BIN
Nextion/NX4832T035.HMI
Normal file
BIN
Nextion/NX4832T035.HMI
Normal file
Binary file not shown.
|
|
@ -14,12 +14,29 @@ is connected to. It could be /dev/ttyUSBx for USB<->Serial adapters or
|
|||
You need to have python installed as well as the python-serial package. That can
|
||||
normally be found in your distro's package manager.
|
||||
|
||||
# Updating the display
|
||||
# File Naming Convention
|
||||
|
||||
There are compiled .tft files in the repo for basic and enhanced Nextion
|
||||
displays of sizes 2.4", 2.8", 3.2" and 3.5". Please choose depending on the
|
||||
model number printed on the back of the display.
|
||||
|
||||
The basic displays are denoted by a "T" as 7th character in the filename and
|
||||
model number whereas enhanced displays have a "K" in that position. The actual
|
||||
display size can be derived from the last two digits. The four digits in between
|
||||
the characters refert to the diplay's resolution.
|
||||
|
||||
For example: A model number NX4832T035 represents a display with:
|
||||
|
||||
- a resolution of 320x480 pixels
|
||||
- basic command set
|
||||
- a screen size of 3.5"
|
||||
|
||||
# Updating the Display
|
||||
|
||||
Now comes the easy part. Just execute:
|
||||
|
||||
```
|
||||
$ python nextion.py MMDVM_3.5.tft /dev/ttyUSB0
|
||||
$ python nextion.py NX4832T035.tft /dev/ttyUSB0
|
||||
```
|
||||
|
||||
And the output should be as follows:
|
||||
|
|
|
|||
Loading…
Reference in a new issue