/* analog_input.c * run '$ make' to check for erors, * '$ make writeflash' to compile and upload */ #define F_CPU 1000000L // Define software reference clock for delay duration #include #include #define LED1 PB0 // Define led ext output pin on PB2 #define LED2 PB1 int i; // 8 bits integer void delay(int ms) { int i; for (i=0; i