Thanks,
Indeed,
This works :
display.drawJpg(JPG_buffer_processed, Append_this_Struct.JPG_size, 0, 0, Append_this_Struct.JPG_width,Append_this_Struct.JPG_height,0,0,JPEG_DIV_2);
Hello @jeetS
you are welcome. I am glad to hear you got it working to your liking. And thank you for letting me/us know and for the detailed step by step explanation.
Thanks
Felix
Hello @tomtom22
G1 and G2 are available on Port A. You are correct, G38 and G39 are not available as general IO on the M5AtomS3. They are used for I2C (and yes. the IMU is already connected to them) but additional I2C devices can be added here. M5AtomS3 documentation can be found here.
Thanks
Felix
Well if someone like me need a working example, the support provided me with this file and it works:
https://github.com/m5stack/M5Core2/blob/master/examples/Module/SERVO2_PCA9685/SERVO2_PCA9685.ino
Actually I mis-identified my module, it's ATOM LITE not ATOM S3 LITE on closer inspection (the names of these things can be confusing). I got the pin numbers scl 32 and sda 26 from the legend on the device itself, and I think they must be correct since it is able to reply with the [35] from the scan() function.
I tried looking at the Arduino code from GitHub to see if it does some kind of initialization of the DLIGHT before reading, but I can't figure it out.
Anyway thanks for replying Terry.
@felmue Thank you. Unfortunately currently I am using the other SIM7060 module. Well, I could power it down with an optocoupler or something like that. Maybe a good idea in future modules to incorporate the deep sleep logic.