The library is now available on Platformio ("M5 Stack 4Relay Library") and Arduino IDE Library Manager.
Can I use your 4-Relay picture to add in my Readme.md file on Github ? And/or add this link: https://shop.m5stack.com/collections/m5-unit/products/4-relay-unit ?
If you want, you can add my Github link to your Arduino Example section.
Found the problem. After deleting an old sdfat and installing a new one it was working perfect on my Core2.
Thanks for hiis fine explanation. Was verry helpfull.
Hello,
Could you please include the imports at the beginning of the code? did you import the proper library?
it seems that it says the SDCard failed, could you run the factory test image on your old core to see if you get any issues?
not sure what's going on on your side as your code runs and works fine here - using PlatformIO as well. I see the text and the yellow square just fine.
BTW: you do not necessarily need to touch the M5Stack lib - M5.begin() actually has parameters, one of them is SerialEnable, if you set this to false you can setup Serial in your code anyway you like.