PaperS3 with M5United?
-
Has anyone gotten the PaperS3 peripherals to work with M5United?
My program compiles OK with #include <M5Unified.h> but when I include the call to M5.begin(); at the top of my setup() code, the program crashes and is stuck in a crash/restart loop.
For now, I have a working simple badge program here: https://github.com/wsanders/M5PaperS3-Stuff/tree/main
-
-
@felmue That PR did not work, only random lines on screen. The random lines burned an afterimage on the screen. I don't think the screen was permanently damaged; after a few cycles of leaving the screen all-black for several minutes the afterimage seems to be slowly going away.
But you had the right idea: On further investigation I added a "#include <epdiy.h>" and the program works now.
-
Hello @wsanders
I am sorry I scared you and I am glad you figured it out. Thank you for letting me know.
I am using Visual Studio Code and for me it works/worked without this include. But yes, you are correct it is mentioned in the docs to include <epdiy.h> and when I do that on my end it still works.
Thanks
Felix -
Hello again
just wondering. There is actually a check in
M5GFX.cpp
about whetherepdiy.h
is included or not. Do you remember, did you see this error in the log (I do not):#if !__has_include (<epdiy.h>) ESP_LOGE(LIBRARY_NAME, "M5PaperS3 need install EPDiy library");
Thanks
Felix -
@felmue I did not see that error.
The afterimages have gone away. Leaving the screen all black and powered off a few minutes will help clear it, this is common EPD behavior.