1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| /*
* HelloWorldApplication.c
*
* Created: 2015/05/18 20:51:35
* Author: akihiro
*/
#include <avr/io.h>
#include <util/delay.h>
int main(void)
{
DDRB = 0xff;
while(1) {
//TODO:: Please write your application code
PORTB ^= 0x01;
_delay_ms(100);
}
}
|