@felmue This community website seems to have a problem with AI bots offering useless information as if they did not even read or understand the users question..
This is the second one in a few weeks.
@felmue This community website seems to have a problem with AI bots offering useless information as if they did not even read or understand the users question..
This is the second one in a few weeks.
Only since the board def "updated" automatically from ver 2.1.4 to ver 3.2.x, I cannot compile my trusty, dusty Core Basic (Or Core2).
/Arduino/libraries/M5Stack/src/utility/pngle.c:31:10: fatal error: rom/miniz.h: No such file or directory
If I downgrade to 2.1.x it compiles as usual for 5 years running.
I found this on google:
https://www.gonnalearn.com/from-miniz-h-compilation-error-m5stack-arduino/
and there have been some other reports on this very community site.
https://community.m5stack.com/topic/7569/issue-with-core2-library
My Arduino IDE ver2.3.6 asks me EVERY DAY to upgrade to M5Stack board def 3.2.x.
This is getting tedious. Ver 3.2.1 recently added did not help.
Is M5Stack abandoning the older Cores?
@alexcap Did you take it outside and wait 12 minutes?
@toffifee The raw outputs are beyond the ken of mortal man, except Accel which can easily be observed by placing it on a stationary level surface and observing that the accel values are stationary and one of the axes, usually Z is showing 1.00 (gravity).
Roll it onto its side and the 1.00 should move to another axis.
The other two outputs Gyro and Mag are best left to a positioning algorithm.
@ren072 Sounds like the battery has expired, this is an older StickC!
It happened to me and later on a StickC Plus.
@wwhite Did you plug the UNIT into the red socket on the left side?
These inputs are: 21 and 22.
You could plug it into the discrete I/Os around the base on the right side where you will find 26 and 36.
@nemelesic "Bruce" is hacking software and such is illegal.
@kuriko Thank you!
I will use 2.14 for now.
@kuriko Why not fix ver3.20?
Add rom/miniz.h where it needs to be.
I try to keep my Arduino IDE setup up-to-date but now it reminds me that 3.20 is available and I may need it for newer Tab products?
We need customer support not frustrating answers.
Technically all of the Arduino IDE examples in YOUR M5Stack Github GitHub for Core and Core2 won't work.
e.g. https://github.com/m5stack/M5Core2/tree/master/examples
Are you saying that older M5Stack models are no longer supported?
After 'letting' Arduino IDE update a bunch of boards and libraries...
I cannot compile Core Basic or Core2 with M5Stack board def 3.20
I get;
fatal error: rom/miniz.h: No such file or directory
I updated every relevant file but the best fix was revert to M5Stack boards to ver 2.14
Therefore
3.20 was the problem.
The IDE is now asking me to update to ver 3.20!
I asked Chat.M5Stack and it was not helpful.
I contacted M5Stack support and they just told me the problem is mine...
@smily77 said in Using WiFi on Tab5 with the Arduino IDE:
M5Stack Package 3.2.0
This board pkg (3.20) seems to be broken for many of us.
We have had to revert to ver2.14 and I have notified M5Stack support.
Try reverting and see.
If still a problem make a simpler de-bug version of your sketch and add complications.
@Dan-Perren Me too!
After 'letting' Arduino IDE update a bunch of boards and libraries...
It started to happen.
fatal error: rom/miniz.h: No such file or directory
Best fix was revert to M5Stack boards to ver 2.14
(3.20 was the problem.)
cheers
@TomKatt BTW, I love your Blown Away by Maxell.
The ‘Canvas’ is M5’s name for TFT_eSPI !
Keep up the good work!
@TomKatt Sure, there's lots of us here.
You have to consider the world is on a 24hr cycle.
I would help you but it would not be what you want.
This is TFT_eSPI one of the most famous graphics drivers:
GFX, LVGL, TFT_eSPI .
LOTS of reference and examples.
As I said you have a M5StampS3 which is an ESP32 S3 wth a ST7789V2 LCD, also very common. All small M5Stack products use it. The one from the CardPuter will work in an old StickCPlus.
Here is the Canvas API:
https://docs.m5stack.com/en/arduino/m5gfx/m5gfx_canvas
Have you tried replacing
DinMeter.Display.width() / 2, DinMeter.Display.height() / 2);
with literals, like 50, 50?
Experiment, research, have fun.
@davekc You doubt him at your peril, Sir!
@TomKatt
This is my "tool drawer"! The browser links I use every day.
@TomKatt The first link is the API
https://docs.m5stack.com/en/arduino/m5dial/display
The other controls are M5GFX or plain-jane GFX
one of thee most common Graphics available.
Look up M5canvas.
The Dial is just a StampS3 and a LCD.