Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * YUNSA_Test.c
- *
- * Created: 01.03.2014 18:07:11
- * Author: abdullah
- */
- #define F_CPU 7370000
- #include <avr/io.h>
- #include <util/delay.h>
- FUSES = { .low = LFUSE_DEFAULT , .high = HFUSE_DEFAULT , };
- int main(void)
- {
- DDRB = 0x08;
- PORTB = 0x00;
- while (1)
- {
- PORTB = 0x08; _delay_ms(1000);
- PORTB = 0x00; _delay_ms(1000);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement