added arduino archive programs to /firmware/ref/archive-code/arduino
[athena:athena.git] / firmware / ref / archive-code / atmega / sampleFuncs.c
1 #include<avr/io.h>\r
2 //#include<sample.h>\r
3 #define F_CPU 1000000UL\r
4 \r
5 /*\r
6 void assignPortB(unsigned char value)\r
7 {\r
8         PORTB=value;\r
9         \r
10 \r
11 }*/\r
12 \r
13 void setIO()\r
14 {\r
15 \r
16         DDRB=0xff;\r
17 \r
18 }\r