Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef F_CPU
- #define F_CPU 1000000UL
- #endif
- #include <avr/io.h>
- #include <util/delay.h>
- int main(void)
- {
- DDRA=0x01;
- while(1)
- {
- PORTA=0x01;
- _delay_ms(1000);
- PORTA=0x01;
- _delay_ms(1000);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement