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;
-
is it a 8 bit bitmap?
-
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.
-
@ajb2k3 You seem to help a lot around here.
any way i can help too? -
@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. -
@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?
-
@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. -
@ajb2k3 Hi, i've tried doing that, but it just keeps saying "uploading" but it never ends