So vielleicht:
(ungetestet)Code:void blink (void) { char anzahl=4; // viermal blinken DDRA |= ADC1; while(anzahl--) { PORTA |= ADC1; mSleep(500); PORTA &= ~ADC1; mSleep(500); } }
So vielleicht:
(ungetestet)Code:void blink (void) { char anzahl=4; // viermal blinken DDRA |= ADC1; while(anzahl--) { PORTA |= ADC1; mSleep(500); PORTA &= ~ADC1; mSleep(500); } }
Bild hier
Atmel’s products are not intended, authorized, or warranted for use
as components in applications intended to support or sustain life!
Lesezeichen