int main(void) { sei(); //count = 0; LcdDisplay lcd; touchscreen.init(); lcd.init_lcd(); USART_Init(MYUBRR); timer0_interrupt_init(); lcd.clearDisplay(); StepperMotor stepper; Pages page; page.introPage(); while (1) { _delay_ms(200); page.chooseAction(touchscreen.getPosX(),touchscreen.getPosY()); } }