void setup() {
// put your setup code here, to run once:
volatile char *drf,*drk;
drf=0x30;
drk=0x107;
*drk=0xff;
*drf=0xff;;
}
void loop() {
// put your main code here, to run repeatedly:
volatile char *outk,*outf;
volatile long i;
outk=0x108;
outf=0x31;
*outf=0x01;
*outk=0x01;
for(i=0;i<1000000;i++);
*outf=0x02;
*outk=0x01;
for(i=0;i<1000000;i++);
*outf=0x01;
*outk=0x02;
for(i=0;i<1000000;i++);
*outf=0x02;
*outk=0x02;
for(i=0;i<1000000;i++);
}