#74 Nextion Display Global vs Local and NO Nextion Library Nextion tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 พ.ย. 2024

ความคิดเห็น • 26

  • @kawamxahin1088
    @kawamxahin1088 4 ปีที่แล้ว +1

    Bro, loving your way of describeing all this issues and solutions along with some of your little jokes.

    • @CheapControls
      @CheapControls  4 ปีที่แล้ว +1

      Thanks for the kind words and thanks for watching.

  • @avrphreak9121
    @avrphreak9121 3 ปีที่แล้ว +1

    Can't believe you got so few views. This stuff is golden, it is so hard to find decent tutorials on Nextion displays! I am really happy to find this! Thank you.

    • @CheapControls
      @CheapControls  3 ปีที่แล้ว +2

      To make it easier to search through my videos I am add them to www.cheapcontrols.com and I will include a search feature which I hope will make it easier to find the video you want. I am doing this for myself also. I sometimes forget things and I want an easy way to find them.

  • @ezion67
    @ezion67 6 หลายเดือนก่อน +2

    Hook up the page change to the release event of the object and there is no problem.

    • @CheapControls
      @CheapControls  6 หลายเดือนก่อน

      That is a great observation.

  • @jamesgibbs3656
    @jamesgibbs3656 2 ปีที่แล้ว

    Love your tutorial(s)!! You might want to put in a comment to say that the pageX does not work any more - syntax needs to be p[x] got stumped on this for a while. I know this vid is a few years old though thanks for all your wonderful work!! Couldn't do this without you.

    • @CheapControls
      @CheapControls  2 ปีที่แล้ว +1

      Thanks for the tip. I was not aware of the change. Thanks for watching and I am glad you like them

    • @CheapControls
      @CheapControls  2 ปีที่แล้ว

      I went back to that video and using the complete name of the page still appears to work for me. page0 and page1. What version of the IDE are you using? I appreciate the feedback.

  • @aksel_brawlstars
    @aksel_brawlstars 4 ปีที่แล้ว +1

    Excellent tutorials, love the way you explain in details. Well Done!

  • @TheDefpom
    @TheDefpom 4 ปีที่แล้ว +1

    On arduino if you use”readUntil” it can check for an ending char which makes it faster, otherwise it waits for the serial timeout.

    • @CheapControls
      @CheapControls  4 ปีที่แล้ว

      Thanks for the tip. I have not used "readUntil" but I will definitely look into it. It is funny how you can use something for years and still learn something new almost every day. Thanks again.

  • @pipoyII
    @pipoyII 3 ปีที่แล้ว +1

    Kuddos, for making this video tutorial

    • @CheapControls
      @CheapControls  3 ปีที่แล้ว

      Thank you for the kind words.

  • @jackfeng1410
    @jackfeng1410 4 ปีที่แล้ว

    Excuse me, I don’t use any mediation library. How to display page1 t1.txt="ON" text page0 t0.txt="ON" ....?
    Thanks

    • @CheapControls
      @CheapControls  4 ปีที่แล้ว +1

      It depends on if t1.txt is global or local. Please reply with your situation and I will supply a little code.

    • @jackfeng1410
      @jackfeng1410 4 ปีที่แล้ว

      @@CheapControls global

    • @CheapControls
      @CheapControls  4 ปีที่แล้ว +1

      Serial.print("page1.t1.txt=\"ON\"");
      Serial.write(0xff);
      Serial.write(0xff);
      Serial.write(0xff);
      Serial.print("page0.t1.txt=\"ON\"");
      Serial.write(0xff);
      Serial.write(0xff);
      Serial.write(0xff);
      Notice the backslash and qoutes \" You need the backslash so the arduino knows to send the quote in the string. if you are sending a value you dont use the /"
      Serial.print("page1.n1.val=356");
      Serial.write(0xff);
      Serial.write(0xff);
      Serial.write(0xff);
      Let me know if I answered your question or if I got your question wrong please rephrase it so I get you the answer you need.
      As always thanks for watching.

    • @jackfeng1410
      @jackfeng1410 4 ปีที่แล้ว

      @@CheapControls 這方式我試過了...無效

    • @CheapControls
      @CheapControls  4 ปีที่แล้ว +1

      Go to my Cheap Controls Facebook page. You can message me with you code. I will review it if you want.

  • @DarkmasterTR93
    @DarkmasterTR93 3 ปีที่แล้ว

    I am having troubles with the
    cov h0.val,page0.t0.txt,0
    I get Invalid Variables, am I missing something? I have set both to global

    • @CheapControls
      @CheapControls  3 ปีที่แล้ว

      I think cov needs to be covx. or leave the comma zero off the end

    • @alirezatooghi7720
      @alirezatooghi7720 3 หลายเดือนก่อน

      @@CheapControls I have a same problem and I used the covx with mo zero at the end, but still the same error

    • @CheapControls
      @CheapControls  3 หลายเดือนก่อน

      @@alirezatooghi7720 Make sure you have the periods and commas correct. If you have a comma instead of a period or a period instead of a comma the ide will interpret variables wrong