This works and I can try the example files.
It doesn’t speak well of Nextion if the example files on their website don’t work with the latest version of the editor.
No editor version can open .tft files for editing, only .hmi files. That’s similar to the Arduino IDE which opens well .ino, .h, .c files etc. for editing but not compiled .hex or .bin files.
But the Nextion Editor allows to upload compiled .tft files via the “upload” button. When no .HMI project is open, clicking upload will open an explorer widow which allows to select a readily compiled .tft file for upload over a usb to serial adapter.
You can also run TFT files in the debugger/simulator. Same steps as with the upload button. However, it only works for files that have been compiled with the exact same editor version (reason explained here. tl;dr: facepalm).
AFAIK Nextion doesn’t give you any way to figure out which one of the tens of possible editor versions you’d need to open a given file. The information is there, they just don’t show it to you. Convenient, right? The third-party TFTTool is one option to get that information. Or have a look at the work-in-progress public documentation of the TFT file format and read it yourself with a hex editor or something similar.
Hi, thanks for your answer.
I didn’t introduce myself, just (perhaps rudely) hissed gossip…
I’m not an expert, I only know “hexeditor” because of “editing a hard disk”…
My intelligent versions of Nextion (red shield) can also do something with “hex editor” but I’ve never used/tried that…
… I’ve also become “comfortable” over time and am looking for a “quick solution”
“Upload” to device works either “via SD card” or “in Nextion editor”.
but “editing” or “saving” of .tft does not work according to my knowledge.
“tft. to view” can in “upload mode”.
I hope that’s understandable.
a “tft upload” without first configuring it for your own needs is useless in my opinion.
This forum is in no way affiliated with NEXTION®, ITEAD STUDIO®, TJC®, or anyone else really. All product names, logos, and brands are property of their respective owners. All company, product, and service names used in this website are for identification purposes only. Use of these names, logos, and brands does not imply endorsement from the respective rights holder(s).