Sorry, the structure inside the device is totally fixed. It is not easy to disassemble it and keep the hardware good. Instead of charging the hardware side, do you prefer to program the power management IC and change the power supply priority? Details refer to the AXP192.
M5Stick-C is exactly like the M5Stack but smaller, right? Same coding language? Will a sketch built for M5Stack that we change the positions or sizes to fit the M5Stick work in them?
Not quite, there are also some hardware differences to also take into account
I wasn’t using the reset button properly when uploading a sketch. I had the .....____....._____ error in Arduino IDE and black screen in M5Stack. Now problem is solved. Thank you for your help!