Menu

Nexion Displays

Anobium
2018-02-18
2020-03-07
<< < 1 2 3 4 (Page 4 of 4)
  • stan cartwright

    stan cartwright - 2018-03-24

    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

     
  • stan cartwright

    stan cartwright - 2018-03-24

    anobium- note TWO else statement..error?

    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
    
     
  • stan cartwright

    stan cartwright - 2018-03-24

    removing 2nd else and no circle...yawn

     
  • stan cartwright

    stan cartwright - 2018-03-24

    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
  • kent_twt4

    kent_twt4 - 2018-03-24

    @Stan, techy stuff like that ...same with PIC...load Dat Line and no programmy either.

     
  • stan cartwright

    stan cartwright - 2018-03-25

    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? :)

     
  • stan cartwright

    stan cartwright - 2018-03-25

    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

     
    • Anobium

      Anobium - 2018-03-26

      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.

      I can find no way to print at x,y text from a pic with nextion print .

      What? xstr is a box command? I just do not understand. There is an alternative to Print. It is called xstr.

      There's a gui command xstr that is a box created at gui compile but no alternative to Print

      I am so confused by your post.

       
  • stan cartwright

    stan cartwright - 2018-03-26

    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.

     
  • akhilesh tumram

    akhilesh tumram - 2020-03-06

    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.

     
  • akhilesh tumram

    akhilesh tumram - 2020-03-06

    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.

     
  • akhilesh tumram

    akhilesh tumram - 2020-03-06

    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.

     
  • stan cartwright

    stan cartwright - 2020-03-07

    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.

     
  • Anobium

    Anobium - 2020-03-07

    0.98.07 has new Nextion driver.

    Please get the release before creating a new project.

     
    • stan cartwright

      stan cartwright - 2020-03-07

      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.

       
  • Anobium

    Anobium - 2020-03-07

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

     
    • stan cartwright

      stan cartwright - 2020-03-07

      Bon voyage

       
<< < 1 2 3 4 (Page 4 of 4)

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.