Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void setup()
- {
- DDRB|=0x01;
- DDRD|=0X80;
- }
- void loop()
- {
- PORTB|=0X01;
- PORTD&=~0X80;
- delay(1000); // Wait for 1000 millisecond(s)
- PORTB&=~0X01;
- PORTD|=0X80;
- delay(1000); // Wait for 1000 millisecond(s)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement