Update header.
This commit is contained in:
parent
2c5d583519
commit
c40c885a78
@ -1,7 +1,19 @@
|
|||||||
|
/*
|
||||||
|
* Hello world of AVR. Blink led PORTB5 (Arduino digital 13).
|
||||||
|
*
|
||||||
|
* To compile and upload run: make clean; make; make program;
|
||||||
|
*
|
||||||
|
* Copyright 2009-2011 Mika Tuupola
|
||||||
|
*
|
||||||
|
* Licensed under the MIT license:
|
||||||
|
* http://www.opensource.org/licenses/mit-license.php
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
#include <avr/io.h>
|
#include <avr/io.h>
|
||||||
#include <util/delay.h>
|
#include <util/delay.h>
|
||||||
|
|
||||||
int main(void)
|
int main(void)
|
||||||
{
|
{
|
||||||
/* Make PORTB5 (Arduino pin 13) an output. */
|
/* Make PORTB5 (Arduino pin 13) an output. */
|
||||||
DDRB |= _BV(PORTB5);
|
DDRB |= _BV(PORTB5);
|
||||||
|
Loading…
Reference in New Issue
Block a user