diff options
-rw-r--r-- | main.c | 25 |
1 files changed, 24 insertions, 1 deletions
@@ -31,18 +31,41 @@ int main (void) while(1) { temp++; - PORTB=temp; + PORTB=~(1 << ((temp>>9)%6)); _delay_ms(1); asm volatile( BIT0 + BIT1 + BIT0 + BIT0 + + BIT0 + BIT0 BIT0 BIT0 + + BIT0 BIT0 BIT0 BIT0 + BIT0 BIT0 BIT1 + BIT1 + + BIT0 + BIT0 + BIT0 + BIT0 + + BIT0 + BIT0 + BIT1 + BIT0 + + + BIT1 "rjmp done \n" "loop:\n" "dec r16\n" |