Thank you Calin!
Posts made by Richard
-
RE: drawJpgFile / drawBmpFile
I tested my programm and my file jpg (sd 4go) with IDE Arduino 1.8.5 on another M5Stack .
It works very well.
The first M5stack doesn't work propely.
I hope the M5stack store will change it. -
RE: drawJpgFile / drawBmpFile
I use Visual Studio too.
i have just tested your programm and i still have the problem.
I think it's a hardware problem.
I'm waiting for another device
Thank you. -
RE: drawJpgFile / drawBmpFile
i have install PlatformIO and load my projet:
Wrote 230992 bytes (123957 compressed) at 0x00010000 in 11.0 seconds (effective 168.6 kbit/s)...
Hash of data verified.Leaving...
Hard resetting via RTS pin...
====================================================== [SUCCESS] Took 23.68 seconds =======================================
I still have the problem!
hardware problem?
I -
RE: drawJpgFile / drawBmpFile
fine, but does not work on ide arduino.
can you send me your code in espi setup? -
RE: drawJpgFile / drawBmpFile
my code
#include <M5Stack.h>
void setup(void) {
M5.begin();
M5.Lcd.setBrightness(200);
M5.Lcd.drawJpgFile(SD, "/corto.jpg"); // Load background from SD//M5.Lcd.drawJpgFile(SD, "/corto_1.jpg", 0, 20, 300, 200);
// M5.Lcd.drawJpgFile(fs::FS &fs, const char *path, uint16_t x, uint16_t y, uint16_t maxWidth, uint16_t maxHeight, uint16_t offX, uint16_t offY, jpeg_div_t scale);
}void loop() {
M5.update();
M5.Lcd.drawJpgFile(SD, "/corto.jpg");
delay(1000);
}
Thank you -
RE: drawJpgFile / drawBmpFile
@calin
thanks,
I tried but I still have the problem!
no idea -
RE: drawJpgFile / drawBmpFile
@richard
I tried all the tft spi sd frequencies and I still have the problem!
an idea? -
RE: drawJpgFile / drawBmpFile
my jpg 320*240 on sd
i have m5stack core 0.2.0
don't work well -
drawJpgFile / drawBmpFile
With Arduino IDE 1.8.5
drawJpgFile / drawBmpFile don't work well.
Images on display are pixelised
Does anyone have a solution?