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

    PaperS3 with M5United?

    PRODUCTS
    2
    6
    672
    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.
    • W
      wsanders
      last edited by wsanders

      Has anyone gotten the PaperS3 peripherals to work with M5United?

      My program compiles OK with #include <M5Unified.h> but when I include the call to M5.begin(); at the top of my setup() code, the program crashes and is stuck in a crash/restart loop.

      For now, I have a working simple badge program here: https://github.com/wsanders/M5PaperS3-Stuff/tree/main

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

        Hello @wsanders

        please see PR on how to get rid of the crash.

        BTW: I like the little blinking dot.

        Thanks
        Felix

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

        W 1 Reply Last reply Reply Quote 1
        • W
          wsanders @felmue
          last edited by wsanders

          @felmue That PR did not work, only random lines on screen. The random lines burned an afterimage on the screen. I don't think the screen was permanently damaged; after a few cycles of leaving the screen all-black for several minutes the afterimage seems to be slowly going away.

          But you had the right idea: On further investigation I added a "#include <epdiy.h>" and the program works now.

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

            Hello @wsanders

            I am sorry I scared you and I am glad you figured it out. Thank you for letting me know.

            I am using Visual Studio Code and for me it works/worked without this include. But yes, you are correct it is mentioned in the docs to include <epdiy.h> and when I do that on my end it still works.

            Thanks
            Felix

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

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

              Hello again

              just wondering. There is actually a check in M5GFX.cpp about whether epdiy.h is included or not. Do you remember, did you see this error in the log (I do not):

              #if !__has_include (<epdiy.h>)
                            ESP_LOGE(LIBRARY_NAME, "M5PaperS3 need install EPDiy library");
              

              Thanks
              Felix

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

              W 1 Reply Last reply Reply Quote 0
              • W
                wsanders @felmue
                last edited by wsanders

                @felmue I did not see that error.

                The afterimages have gone away. Leaving the screen all black and powered off a few minutes will help clear it, this is common EPD behavior.

                1 Reply Last reply Reply Quote 0
                • felmueF felmue referenced this topic on
                • First post
                  Last post