Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upTFT_Flash_Bitmap example is not working with M5Stack Library 0.2.6 #151
Comments
|
Which function are you using? |
|
I just try to use the example as it is.....what you mean function??..the example use: M5.Lcd.setWindow and |
|
M5.Lcd is made by copying TFT-eSPI, but the examples has not been corrected although the function has changed largely due to the change made in February this year. The current stable version is 0.2.5... |
|
Ok...I review and make the changes and now its working: // Icons are stored in tabs ^ e.g. Alert.h etc above this line /* Works with TFT_eSPI library here: This sketch does not use/need any fonts at all... Code derived from ILI9341_due example Make sure all the display driver and pin comnenctions are correct by ######################################################################### DON'T FORGET TO UPDATE THE User_Setup.h FILE IN THE LIBRARY######################################################################### #include <M5Stack.h> // Include the header files that contain the icons long count = 0; // Loop count void setup() M5.Lcd.fillScreen(TFT_BLACK); // Draw the icons // Pause here to admire the icons! } void loop() // Clear screen after 100 x 3 = 300 icons drawn |
|
Fix completed. ( #152 ) |
|
Probably, this issue is solved in version 0.2.7 |
With the new library 0.2.6 TFT_Flash_Bitmap example is not work.
Arduino compile and upload, but the image is not appear in screen....don't show or appear errors, only images is not showing
I use new arduino ESP32 library.
When I change M5Stack library at 0.2.5, the images work againg.