Unofficial Nextion/TJC User Forum

Development setup, best way to do this, please advice?

I’m developing/running an application first on a PC/MacBook before putting it onto the Arduino. This is faster, it is easier for debugging. compared to each time download the application to the Arduino.

How can I connect the debugger in the Nextion IDE to the program running on the PC/MacBook? Should I use two serial ports and connect them to each other?

So the application on the PC/MacBook sends commands via the serial port to the 2nd serial port to which the debug Nextion application is connected?

The Nextion libraries provided are for the Arduino env. Could they also be used in a PC/MacBook command line application?

Is this the way to solve it? Or is there a different method?

Again, building a new application from scratch on a PC and easy/fast debug environment is easier and faster compared to each time downloading a slightly modified app into the Arduino.


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).