Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

tools for Nextion display on Arduino M2560

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> Share your working BASCOM-AVR code here
View previous topic :: View next topic  
Author Message
Duval JP

Bascom Member



Joined: 22 Jun 2004
Posts: 923
Location: France

france.gif
PostPosted: Sun Dec 15, 2019 6:40 pm    Post subject: tools for Nextion display on Arduino M2560 Reply with quote

Hi all
I am happy because I have long been searching to develop a program that works well. I think I understood the "Chinese?" spirit of the designers of the Human Machine Interface Nextion display
We cannot (as is the case with System 4D) do everything with it.
But to manage a small or large industrial or laboratory project, Nextion is SIMPLE to implement.
I would like to thanks EDC for providing me with a program that was not working! but that allowed me to finalize mine: Waitkey doesn't work well with nextion, we have to use inkey.
You will find here:
-a pps file that shows how to implement the nextion IDE
-the Hmi file
-fonts of characters
-the images used

-two excel files:
1) references
2) the responses returned by the screen in relation to an order

-a Bascom program.prj and its files.bas and.inc : example divided into 4 pages
where we find the main tools. for example to write a text we use the sub nex_txt() etc... built like H.Kipnik (thanks to him)
Each sub, macro or function is explained simply with few program lines.
You don't need video but you can see
https://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=13923&highlight=nextion
it's similar
Now you can debug your program with the help of the instruction "debug on" so simple with Arduino thanks to Mark ! Wink

I'm waiting for your comments
JP Wink

_________________
pleasure to learn, to teach, to create
Back to top
View user's profile Visit poster's website
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5013
Location: Holland

blank.gif
PostPosted: Mon Dec 16, 2019 10:20 am    Post subject: Reply with quote

hi JP,

thanks for this. I think all of this is good info to understand how to use the display. it seems all simple Very Happy
but it usually is when someone sorted it out. great to see the progress and cooperation.
So i can conclude that this is the way for at least the low cost standard solution?

_________________
Mark
Back to top
View user's profile Visit poster's website
Duval JP

Bascom Member



Joined: 22 Jun 2004
Posts: 923
Location: France

france.gif
PostPosted: Mon Dec 16, 2019 10:55 am    Post subject: Reply with quote

You're right, Mark.
for Bascom users who don't want to get ahead of themselves, Nextion is for a reasonable price, the right solution that works.
it's not perfect but it's better and very fast.
and I make myself available to users to help them if necessary.

Wink
jp

_________________
pleasure to learn, to teach, to create
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> Share your working BASCOM-AVR code here All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum