#include #include #include #include #include #include #include //#define F_CPU 10000000 double result; double volt; char Ausgabe[1]; unsigned int i = 0; unsigned char t_high = 0; unsigned char t_low = 0; unsigned int timer=0; unsigned int rpm=0; unsigned int zwischen_erg; unsigned char g_temp[40]; unsigned char sreg; int main(void) { DDRD = 0x00; DDRC = 0xF8; DDRB = 0xFF; DDRA = 0x00; PORTA = 0x00; lcd_init(LCD_DISP_ON); SREG |= (1<<7); //Global Interrupt Enable TCCR1B = (1<200){ lcd_clrscr(); i = 0; if(TOV1==1){ sreg = SREG; cli(); TCNT1H = 0; TCNT1L = 0; ICR1H = 0; ICR1L = 0; lcd_gotoxy(0,0); lcd_puts("Motor aus"); TIFR |= (1<