typedef struct { /* The application's current state */ APP_STATES state; /* TODO: Define any additional data used by the application. */ /* Holds average of ADC conversion result */ int potValue; /* Flag indicating new ADC result is ready to be displayed on LEDs */ bool dataReady; } APP_DATA;