oh danke,
habs jetzt so gmacht:
es geht aber trotzdem net..Code:void delay(unsigned int count) { int i; for(i=0;count>i;i++) { asm volatile ("rjmp 1f\n 1:"); //warte 500ns 0,543 us asm volatile ("rjmp 1f\n 1:"); //warte 500ns 0,543 us // also 1 us } }
Gruß
Scrat1
Lesezeichen