uint8_t numModes = 9;               //Define the number of modes