Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. muaaz
    M
    • Continue chat with muaaz
    • Start new chat with muaaz
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    muaaz

    @muaaz

    0
    Reputation
    1
    Posts
    332
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    muaaz Follow

    Posts made by muaaz

    • upload image to M5stack problem

      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

      posted in SOFTWARE
      M
      muaaz