Created
February 18, 2016 19:41
-
-
Save pilinux/29cf0407bafe15a6bb93 to your computer and use it in GitHub Desktop.
bit Operation 1
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
while(1){ | |
PORTB = 0b00000001; | |
_delay_ms(500); | |
PORTB = 0b00000010; | |
_delay_ms(500); | |
PORTB = 0b00000100; | |
_delay_ms(500); | |
PORTB = 0b00001000; | |
_delay_ms(500); | |
PORTB = 0b00010000; | |
_delay_ms(500); | |
PORTB = 0b00100000; | |
_delay_ms(500); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment