@wavydavy
Yes, that resolved the issue, I am now using the
"M5Stack by M5Stack official 3.2.2 installed " board def.
The entire problem was that my pre-existing code AND the M5Stack Github examples by M5Stack use
#include <M5Stack.h>
instead of M5Unified.
Thanks for your help.
Also:
No one at M5Stack picked up on this, except you, not even the online M5Stack AI chat helper.
Note: The examples in the newer web based API work fine, just not the old M5Stack official Github.
Cheers, Terry