Guest User

Untitled

a guest
Apr 23rd, 2013
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.24 KB | None | 0 0
  1.  
  2. #include <avr/io.h>
  3. #include <util/delay.h>
  4.  
  5. // void wurstbrot();
  6. //
  7. // void wurstbrot()
  8. // {
  9. // }
  10.  
  11. int main(void)
  12. {
  13.     DDRB |= (1<<PB0);
  14.     PORTB |= (1<<PB0);
  15.    
  16.     while(1) {
  17.         _delay_ms(1000);
  18.         PORTB ^= (1<<PB0);
  19.     }
  20.     return 0;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment