@Jonny-Spaceman It sounds like you may have a conflict. You should delete arduino and all of the libraries and start from scratch. UIFlow Micropython is the preferred language for programming M5Stack and its much easier to learn.