Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PORTB &= ~(1 << PINB1);
- DDRB |= (1 << DDB1); // LED ON (DDRB set as OUTPUT) --> sink
- DDRB &= ~(1 << DDB1); // LED OFF (DDRB set as INPUT) --> float
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement