Created
August 27, 2014 09:27
-
-
Save chriskvik/51012fb0c247bc33c029 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
#include <avr/io.h> | |
int main(void) | |
{ | |
// Set Port B pins as all outputs | |
DDRB = 0xff; | |
// Set all Port B pins as HIGH | |
PORTB = 0xff; | |
return 1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment