Modification of the M5Stack library for Arduino