in this glcd extract would I find if the values were sent?
Sub Circle_NXN320x480L ( in xoffset as word, in yoffset as word, in Inxradius as integer, Optional In LineColour as word = GLCDForeground )
GLCD_NEXIONSerialPrint "cir " ; -------- send xoffset,yoffset,Inxradius
SendParam_NXN320x480L xoffset ; ------ to terminal?
SendParam_NXN320x480L yoffset
SendParam_NXN320x480L Inxradius
SendParam_NXN320x480L LineColour, True
;-------------
and are they getting to next code to be sent?
Sub SendParam_NXN320x480L ( in outstring as string, Optional In outstate = False )
GLCD_NEXIONSerialPrint outstring
if outstate = false then
GLCD_NEXIONSerialSend 44
else
GLCD_NEXIONSerialSend 255
GLCD_NEXIONSerialSend 255
GLCD_NEXIONSerialSend 255
end if
end sub
Sub SendParam_NXN320x480L ( in outval as word, Optional In outstate = False )
GLCD_NEXIONSerialPrint outval
if outstate = false then
GLCD_NEXIONSerialSend 44
else
GLCD_NEXIONSerialSend 255
GLCD_NEXIONSerialSend 255
GLCD_NEXIONSerialSend 255
else
end if
end sub
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sub SendParam_NXN320x480L ( in outval as word, Optional In outstate = False )
GLCD_NEXIONSerialPrint outval
if outstate = false then
GLCD_NEXIONSerialSend 44
else
GLCD_NEXIONSerialSend 255
GLCD_NEXIONSerialSend 255
GLCD_NEXIONSerialSend 255
else
end if
end sub
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In a post box today, you should get wed-thurs. Let me know if recieved.
I can find no way to print at x,y text from a pic with nextion print .
There's a gui command xstr that is a box created at gui compile but no alternative to Print
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I used the help in the ide
line,cir print are in serial commands
xstr is in giu commands so must be compiled/flashed to display...as I "understand".
I'm not the only one who finds the gui not easy from forums results.
I tried hserprint "xstr 0,0,100,30,1,RED,BLACK,1,1,1,"Stan"" but got errors.
Sorry to confuse you. The ilead gui is sort of related to using these with any programming language and it takes a while for some to understand as it's unfamiliar.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Nextion is a seamless Human Machine Interface (HMI) solution that provides a control and visualization interface between a human and a process, machine, application or appliance. Nextion is mainly applied to Internet of thing (IoT) or consumer electronics field. It is the best solution to replace the traditional LCD and LED Nixie tube.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have received many devices(and bits of electronics) in the mail, and do most days. You did send a number of GLCDs and I have been working throught them all at a steady pace. Without your sending the GLCDs we would not have a number of the drivers we do today. Thank you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
They seem popular as displays go. An old idea modernised to stuff you would find hard to do with a display. The ide design looks interesting...on paper.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I had forgotten about nextion displays.
Do I still have one somewhere?
I found setting the thing up with the gui ide complicated then using a pic to send commands
also complicated at the time so moved on.
When set up as desired nextion is nice display and should make a pic program run faster as the display does the work.
It seemed to much effort each time I used it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
10-4
Thought you was having a week off.
Strange the above post after so long?
I suppose you found some merit in the nextion device.
I thought it was nice if set up. The touch works ok from pre setting up with nextion gui.
I just dug out my small nextion...and found some other very interesting stuff while rummaging.
I might give it another go after I finish something else.
Thanks for continued support for as many devices one person can support.
If gcb didn't have the includes it would be difficult for me and maybe others
to get a device working. That's how arduino works...includes and a bit of c code.
Gcb seems to follow that model ie the include does it all.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
(currently in van travelling in France. A very long journey)
Re the libraries. Libraries provide a set of capabilities for users. These capabilities are very useful as they all follow same approach and therefore expose common subs and functions. The libraries may not be the fastest way to do something, like print a character, but developerd can improve, or, totally replace specific functions.
But, glad to get feedback. :-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
in this glcd extract would I find if the values were sent?
Sub Circle_NXN320x480L ( in xoffset as word, in yoffset as word, in Inxradius as integer, Optional In LineColour as word = GLCDForeground )
GLCD_NEXIONSerialPrint "cir " ; -------- send xoffset,yoffset,Inxradius
SendParam_NXN320x480L xoffset ; ------ to terminal?
SendParam_NXN320x480L yoffset
SendParam_NXN320x480L Inxradius
SendParam_NXN320x480L LineColour, True
;-------------
and are they getting to next code to be sent?
Sub SendParam_NXN320x480L ( in outstring as string, Optional In outstate = False )
GLCD_NEXIONSerialPrint outstring
if outstate = false then
GLCD_NEXIONSerialSend 44
else
GLCD_NEXIONSerialSend 255
GLCD_NEXIONSerialSend 255
GLCD_NEXIONSerialSend 255
end if
end sub
Sub SendParam_NXN320x480L ( in outval as word, Optional In outstate = False )
GLCD_NEXIONSerialPrint outval
if outstate = false then
GLCD_NEXIONSerialSend 44
else
GLCD_NEXIONSerialSend 255
GLCD_NEXIONSerialSend 255
GLCD_NEXIONSerialSend 255
else
end if
end sub
anobium- note TWO else statement..error?
removing 2nd else and no circle...yawn
Ta @kent. the arduino techy stuff mentions weak and strong pull ups...some where...techy stuff re programming serial.
@anobium-I can do the circle with serprint but text at x,y gcb does heaps better than nextion commands it seems. tis why I look at includes.
artistic moire effects were intentionally...honest :)
Last edit: stan cartwright 2018-03-25
@Stan, techy stuff like that ...same with PIC...load Dat Line and no programmy either.
succint "@Stan, techy stuff like that ...same with PIC...load Dat Line and no programmy either."
If I typed that I'd get told off...but I don't care.
Can you break it down to individual lines? :)
In a post box today, you should get wed-thurs. Let me know if recieved.
I can find no way to print at x,y text from a pic with nextion print .
There's a gui command xstr that is a box created at gui compile but no alternative to Print
Still no clearer to me.
What do you mean? xstr 0,0,100,30,1,RED,BLACK,1,1,1,"Stan" is the print text at a specific location on the Nextion screen.
What? xstr is a box command? I just do not understand. There is an alternative to Print. It is called xstr.
I am so confused by your post.
I used the help in the ide
line,cir print are in serial commands
xstr is in giu commands so must be compiled/flashed to display...as I "understand".
I'm not the only one who finds the gui not easy from forums results.
I tried hserprint "xstr 0,0,100,30,1,RED,BLACK,1,1,1,"Stan"" but got errors.
Sorry to confuse you. The ilead gui is sort of related to using these with any programming language and it takes a while for some to understand as it's unfamiliar.
Nextion is a seamless Human Machine Interface (HMI) solution that provides a control and visualization interface between a human and a process, machine, application or appliance. Nextion is mainly applied to Internet of thing (IoT) or consumer electronics field. It is the best solution to replace the traditional LCD and LED Nixie tube.
I have received many devices(and bits of electronics) in the mail, and do most days. You did send a number of GLCDs and I have been working throught them all at a steady pace. Without your sending the GLCDs we would not have a number of the drivers we do today. Thank you.
They seem popular as displays go. An old idea modernised to stuff you would find hard to do with a display. The ide design looks interesting...on paper.
I had forgotten about nextion displays.
Do I still have one somewhere?
I found setting the thing up with the gui ide complicated then using a pic to send commands
also complicated at the time so moved on.
When set up as desired nextion is nice display and should make a pic program run faster as the display does the work.
It seemed to much effort each time I used it.
0.98.07 has new Nextion driver.
Please get the release before creating a new project.
10-4
Thought you was having a week off.
Strange the above post after so long?
I suppose you found some merit in the nextion device.
I thought it was nice if set up. The touch works ok from pre setting up with nextion gui.
I just dug out my small nextion...and found some other very interesting stuff while rummaging.
I might give it another go after I finish something else.
Thanks for continued support for as many devices one person can support.
If gcb didn't have the includes it would be difficult for me and maybe others
to get a device working. That's how arduino works...includes and a bit of c code.
Gcb seems to follow that model ie the include does it all.
(currently in van travelling in France. A very long journey)
Re the libraries. Libraries provide a set of capabilities for users. These capabilities are very useful as they all follow same approach and therefore expose common subs and functions. The libraries may not be the fastest way to do something, like print a character, but developerd can improve, or, totally replace specific functions.
But, glad to get feedback. :-)
Bon voyage