Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define F_CPU 8000000L
- #include <avr/io.h>
- #include <util/delay.h>
- int main (void)
- {
- DDRD |= _BV (5);
- while (1)
- {
- PORTD ^= _BV(5);
- _delay_ms(500);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement