Created
May 4, 2015 15:55
-
-
Save busti/82859493178cb16ab8fd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void setup() { | |
DDRB = B00001000; | |
PORTB = B00001000; | |
} | |
void loop() { | |
bitWrite(PORTB, 4, bitRead(PINB, 3)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment