Nextion Brightness Slider - No Arduino Required

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

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

  • @leef_me8112
    @leef_me8112 5 ปีที่แล้ว +8

    Great video.
    BTW, you can also set the 'minval' to 1 instead of adding the 'if' statement.
    you DO need the dims=h0.val
    If you use dim=h0.val (without the 's') the changes are not held during power off.

  • @motogeek8234
    @motogeek8234 5 ปีที่แล้ว +1

    Dude... Killing it with the Nextion! Although your tuts are basic, they are very relevant to many other projects. Its all about techniques that can be used and expanded on and your methods make that very clear and consise!!!! Thanks and keep going, please!

    • @korbano
      @korbano  5 ปีที่แล้ว

      Moto Geek I’m glad to hear it! I’ll be sure to keep making Nextion tutorials

    • @korbano
      @korbano  5 ปีที่แล้ว

      Rolston Holas yes I can definitely do this!

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

    many thanks, for the brightness tip but also for how to draw a decent slide

  • @CleancutCampers
    @CleancutCampers 5 ปีที่แล้ว +1

    Excellent tutorial again. I'm really appreciative of your Nextion videos. What i have done on mine, instead of the if statement to stop it going black, I have just set the min slider value (minval) to 1 or whatever value you want the minimum brightness to be, therefore the dim value could never go fully dark.

    • @korbano
      @korbano  5 ปีที่แล้ว

      That method works too and is definitely simpler than mine!

  • @NetprocoNet
    @NetprocoNet 5 ปีที่แล้ว +1

    I subscribed, you are a great instructor! I would pay to take classes on the Nextion IDE but there isn't any have you considered Udemy as a platform for your classes?

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

    Excellent video, but if I want to control the brightness with physical buttons using arduino, as would be the instructions in arduino to increase and decrease the brightness

  • @altitudeap
    @altitudeap 5 ปีที่แล้ว +1

    Your videos are great. I have implemented this slider. Could you do another video on two other subjects? First would be, i have a screen of 6 buttons that are dual state like your console project. However i only want one to be 'on' at a time. for instance if bt0 currently = 1 and then btn3 is turned to =1 it will make bt0 = 0 Secondly, i would like to know if there can be a time out on a screen. for instance if i am on the button screen and i dont touch it for x minuites, it will switch to a new screen that is black. I will make the entirety of this screen a button that if touched it will go back to the 6 button screen. Thanks again for your videos.

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

    Guys/Gals, can one of you help me please. I have implemented the brightness control.. When I am in the page.. it works well.. with either dim or dims. but when I exit the page the brightness returns to 100% and when I return to the brightness control page.. the slider is back to 100%.. so for me dims is not working:(. what am I missing? Do I have make h0 global and read it in every page and always program dim or dims?

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

      Change vstat from local to global.. don’t have my computer in front of me but I think that’s the name. It’ll be on the side under “object I’d”

  • @mertcapkin7263
    @mertcapkin7263 5 ปีที่แล้ว

    how to set the brightness level only with code and not with a slider in the Nextion Editor, for example dims=80. Where do I need to put this?

    • @korbano
      @korbano  5 ปีที่แล้ว +2

      You would put it in the “Preinitialize Event” tab

    • @mertcapkin7263
      @mertcapkin7263 5 ปีที่แล้ว

      @@korbano thanks :)

  • @Great_XicoZe
    @Great_XicoZe 5 ปีที่แล้ว

    Can you share the code?