#include <avr/io.h>
#define F_CPU 16000000UL
#include <util/delay.h>

/*
ATMega328P

LEDs at PD0 and PB0, switches at PC0 and PC1
*/


int main()
{	
	DDRD = 1;
	DDRB = 1;
	
	DDRC = 0b000000;
	PORTC = 0b111111;
	
	
	A0:
    while(PINC == 0b111111)
    {
        /Blink pattern 1
    }
    if(PINC == 0b111110)
        goto A1;
    else if(PING 0b111101)
        goto B0;
    	
	//same as above, but different blink patterns and different jumps

    //see above
    
    //see above
	
	
	return 0;
}