B4R Question ESP to NEXTION Serial Commands

Discussion in 'B4R Questions' started by rodmcm, Sep 20, 2018.

  1. rodmcm

    rodmcm Member Licensed User

    I am sure there are some users out there! I would be interested to know how you have developed the string commands in B4R or get suggestions to develop a byte buffer containing items such as
    t0.text = "ASDF"
    vis b0, 1
    fill 20,30,40,120,RED
    with three byte characters 0xFF 0xFF 0xFF at the end of each

    Easy in Arduino with Serial.print and Serial.write

    I seem to have a million lines of code to massage byte arrays.. There must me a simpler way!!
  2. Cableguy

    Cableguy Expert Licensed User

    please do a search using the keyword "NEXTION"! You'll find quite a few threads about the ussage of these displays, and in their demos, surely, a few tips on comunication with such displays.
  3. rodmcm

    rodmcm Member Licensed User

    Thanks.. Dont know what I didnt do that first... More power to astreams!
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice