void setup() {
volatile long x;
volatile char *dirf,*dirk;
volatile char *outf,*outk;
dirf=0x30;dirk=0x107;
outf=0x31;outk=0x108;
*dirf=0x03;
*dirk=0x03;
while(1)
{
//for(x=0;x<200000;x++);
*outk=0x01;
*outf=0x01;
for(x=0;x<200000;x++);
*outk=0x02;
*outf=0x01;
for(x=0;x<200000;x++);
*outk=0x02;
*outf=0x02;
for(x=0;x<200000;x++);
*outk=0x01;
*outf=0x02;
for(x=0;x<200000;x++);
}
}
void loop() {
// put your main code here, to run repeatedly:
}