//49.Press 1st switch &Press 4th switch &Press 7th switch &Press 9h switch Glow 8th LED for 10 secondsOne by One
void setup() {
volatile char *ddrf,*ddrk,*ddra,*ddrc;
ddrf=0x30;
ddrk=0x107;
ddra=0x21;
ddrc=0x27;
*ddrf=0xff;
*ddrk=0xff;
*ddra=0x00;
*ddrc=0x00;
}
void loop() {
volatile uint32_t *ina,*inc,*outf,*outk;
outf=0x31;
outk=0x108;
ina=0x20;
inc=0x26;
volatile uint32_t i,x,j,v,y;
x=*ina;
y=*inc;
for(i=2;i<=128;i=i*8){
if((x&i)==i||(y&i)==2){
*outk=1;
for(j=0;j<=4000000;j++);
*outk=0;
}
}
}