This file contains 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
/* Borrowed from: http://wiki.hacdc.org/index.php/AVR_Lesson:_Output_Pins_I */ | |
/* Blinker Demo */ | |
#include <avr/io.h> /* Defines pins, ports, etc */ | |
#define F_CPU 8000000UL /* Sets up the chip speed for delay.h */ | |
#include <util/delay.h> /* Functions to waste time */ | |
#define LED PB1 /* Defines pin PB4 for the LED. I | |
often incorporate a bunch of the circuit | |
info in the defines, which makes |
NewerOlder