@os88 said in 5V stops working m5stickc:
//#include <M5StickC.h>
I only had the problem, when i uploaded my code the StickC was on. If i turned it off, i was not able to turn it back on with the power button.
Just like you i had commented out the m5stack.h code.
//#include <M5StickC.h>
Have you tried it when the code Is not uncommitted?