🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    ADD display block not working on M5Stamp S3

    UiFlow 2.0
    2
    7
    1.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ajb2k3A
      ajb2k3
      last edited by

      I cant get an SV7789 SPI display working using the following code in UIFLow2
      0_1709973506610_Screenshot 2024-03-09 at 08.38.17.png

      UIFlow, so easy an adult can learn it!
      If I don't know it, be patient!
      I've ether not learned it or am too drunk to remember it!
      Author of the WIP UIFlow Handbook!
      M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

      1 Reply Last reply Reply Quote 0
      • felmueF
        felmue
        last edited by

        Hello @ajb2k3

        check out my example M5StampS3_LCD_ST7789V2_UIFlow2.0.2 in the Play Zone. It looks like the backlight PWM part is not working properly, e.g. the display stays dark. I fixed that by setting the backlight GPIO to HIGH manually.

        Thanks
        Felix

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

        1 Reply Last reply Reply Quote 0
        • ajb2k3A
          ajb2k3
          last edited by

          Nope, just cant get it to work, I get the backlight lit up but nothing else

          UIFlow, so easy an adult can learn it!
          If I don't know it, be patient!
          I've ether not learned it or am too drunk to remember it!
          Author of the WIP UIFlow Handbook!
          M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

          1 Reply Last reply Reply Quote 0
          • felmueF
            felmue
            last edited by felmue

            Hello @ajb2k3

            for me the display only works when selecting SPI host ID SPI3.

            BTW: I just figured out that PWM actually works, but the default brightness (127) is too low to see. Using st7789.setBrightness(255) sets a visible brightness.

            Thanks
            Felix

            GPIO translation table M5Stack / M5Core2
            Information about various M5Stack products.
            Code examples

            1 Reply Last reply Reply Quote 0
            • ajb2k3A
              ajb2k3
              last edited by

              I just can't get the ST7789 working on a StampS3 using the Unified driver.
              I'm trying to use this display
              https://www.amazon.co.uk/gp/product/B07ZP4QK3S/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

              And the stamp1.27 through the mate adapter.

              UIFlow, so easy an adult can learn it!
              If I don't know it, be patient!
              I've ether not learned it or am too drunk to remember it!
              Author of the WIP UIFlow Handbook!
              M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

              1 Reply Last reply Reply Quote 0
              • felmueF
                felmue
                last edited by

                Hello @ajb2k3

                did you verify this ST7789 works at all? Maybe it is broken?

                I found this tutorial and it looks like this ST7789 display should work without backlight wire connected.

                BTW: I run my test with an ST7789 display taken from an M5StickCPlus.

                Thanks
                Felix

                GPIO translation table M5Stack / M5Core2
                Information about various M5Stack products.
                Code examples

                1 Reply Last reply Reply Quote 0
                • ajb2k3A
                  ajb2k3
                  last edited by

                  It was a brand new display out of the bag. There is a chance I may have killed it wiring +&- back to front but the backlight still works

                  UIFlow, so easy an adult can learn it!
                  If I don't know it, be patient!
                  I've ether not learned it or am too drunk to remember it!
                  Author of the WIP UIFlow Handbook!
                  M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post