🤖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

    Scheduled Pinned Locked Moved SOFTWARE
    8 Posts 4 Posters 16.1k Views 1 Watching
    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 Offline
      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 Offline
        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 Offline
          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 Offline
            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 Offline
              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 Offline
                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 Offline
                  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 Offline
                    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

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    • First post
                      Last post