Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <avr/io.h>
- void main(void)
- {
- DDRA = 0xFF;
- PORTA = 0x00;
- DDRB = 0xFF;
- PORTB = 0xAA;
- DDRC = 0xFF;
- PORTC = 0x55;
- for(;;)
- {
- // PORTA ^= 1; // blink bit 0 in portA
- PORTA = 0x55;
- PORTA = 0xAA;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement