@delchi I didn't have any luck with JPGS, so i just used PNG.
Posts made by mikemoy
RE: Installing "M5Stack-IDF" will result in errors
FWIW & IMHO, Arduino is far to limiting. IDF opens up far more options that Arduino just does not address.
Menuconfig is the primary reason for me to use IDF, and like the other poster said, having many source files Arduino is just to crippling to large projects beyond twinkling a led.
I too hope M5Stack comes out with an updated official version of m5stack for IDF.
Core2 API Documentation
Been playing around with my new Core2 and its awesome.
There are many examples M5 has provided, but I have not been able to find information on all the functions that are available, and info on how to some of them get used. Is there such a document ?
I am looking for something like what Espressif has done.
Espressif API Reference
Working with jpg images
The factor demo for the Core2 is very nice.
I found the thread "Lesson 1.2.1. LCD. How to create image array" but that is not what is used in the factory demo.
They use, Disbuff.drawJpg(CoverImage,21301,0,0,240,240,0,0);
The lesson thread uses drawBitmap
What I would like to know is how to take a .jpg image, convert it to a C file and use drawJpg to throw it on the LCD.
Is there any info on how to do that ?
RE: Simple fix when upload fails.
Hi guys, just got mine in today and it kept resetting while trying to program. Started at the forums and found this post.
As a R&D engineer let me first just say the guys at m5Stack know what they are doing on the hardware side. It's an exceptions build, But looking at the schematic, i am kinda shocked they dont have a cap on the reset line.
I tried 3 values and all worked. 0.1uf, 2.2uf & 10uf. Would not go higher than 10uf though.
I stuck a 0.1uf cap on the reset pin to gnd, and mine works just fine now, Typically in this circuit anything =<10uf should work just fine.
In the photo I put a 0805 cap, there. It would be best to stick a 0603 there but I didn't have any.
You can get these locally at mouser or digikey.
0.1uf cap at Mouser
For those of you who dont have solder skills like this you can use a through hole cap like this one externally on the box from "RST" to "G". polarity does not matter for this ceramic cap.
0.1uf Through Hole Cap