@kdshawee87 Is there a possibility that it is conflicting with the Arduino macro? #define min(a,b) ((a)<(b)?(a):(b)) This is a rough way of writing it, but in the header #include <M5EPD.h> #include <Settimino.h> #undef min Will it compile if I undef it? However, in this case, the standard min cannot be used in this file.