Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef F_CPU
- #define F_CPU 1000000UL // or whatever may be your frequency
- #endif
- #include <avr/io.h>
- #include <util/delay.h>
- #define LEDG_ON() PORTD&=~(1<<PD5)
- int main(void)
- {
- asm("sei");
- LEDR_ON();
- _delay_ms(200);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement