Re: More Nextion 3.5" tweaks to do
toggle quoted messageShow quoted text
I’m in the editor.
This code in tm0 will adjust the white lies, red line and black boarder for each band. I’m programming it for a 5” screen so we’re working with 800x480 resulution. All the numbers are pixel positions except for the ending number which is a color by number or word.
Sent from Mail for Windows 10
From: Sam Tedesco
Sent: Sunday, April 21, 2019 11:09 AM
Subject: Re: [BITX20] More Nextion 3.5" tweaks to do
Fill command is fill x,y,w,h. So, if you want to draw a WHITE box across the 'black canvas' just to the spot where your controls are on the right hand side (h0,etc.), you could use
fill 0,184,409,5,WHITE (the 409 is 480 - 71 (my control width of h0)).