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

    upload image to M5stack problem

    SOFTWARE
    4
    8
    13.2k
    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.
    • M
      muaaz
      last edited by

      Im using M5stack basic development kit.
      im trying to upload image into it using M5.lcd.drawBitmap() but it looks like images are pixelised.

      anyone can help me?

      this is the code:

      #include <M5Stack.h>

      #define img duke
      #define pic extern unsigned char
      pic img [];

      void setup() {

      M5.begin();
      M5.Lcd.drawBitmap(0,0,320,240, (uint16_t*) img);
      }

      void loop() {
      // put your main code here, to run repeatedly:

      }

      Picture;

      0_1568687327564_lp.JPG

      1 Reply Last reply Reply Quote 0
      • X
        Xeon
        last edited by

        is it a 8 bit bitmap?

        The war of 1 and 0 draws ever closer.
        everyday i work to become a cyborg.

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

          Images need to be made in a specific way. You can find this information in my WIP book found in the project section called UIFlow handbook.

          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!

          X M 2 Replies Last reply Reply Quote 0
          • X
            Xeon @ajb2k3
            last edited by

            @ajb2k3 You seem to help a lot around here.
            any way i can help too?

            The war of 1 and 0 draws ever closer.
            everyday i work to become a cyborg.

            ajb2k3A 2 Replies Last reply Reply Quote 0
            • ajb2k3A
              ajb2k3 @Xeon
              last edited by

              @xeon just keep answering questions that’s all I do.
              You look like the one who has grasped the used of the StickV so keep helping out.

              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
              • ajb2k3A
                ajb2k3 @Xeon
                last edited by

                @xeon said in upload image to M5stack problem:

                @ajb2k3 You seem to help a lot around here.
                any way i can help too?

                Btw have you filled in the icebreaker discussion with a little about yourself and projects?

                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!

                X 1 Reply Last reply Reply Quote 0
                • X
                  Xeon @ajb2k3
                  last edited by

                  @ajb2k3 i should.
                  but i don't like telling people where i'm from.
                  People will think i'm a bad person when i just want to help.

                  The war of 1 and 0 draws ever closer.
                  everyday i work to become a cyborg.

                  1 Reply Last reply Reply Quote 0
                  • M
                    ManuXD32 @ajb2k3
                    last edited by

                    @ajb2k3 Hi, i've tried doing that, but it just keeps saying "uploading" but it never ends

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