void setup() {
  // put your setup code here, to run once:
  volatile char *dirf,*dirk;
  volatile char *outf,*outk;
  dirf=0x30;dirk=0x107;
  outf = 0x31;outk = 0x108;
  *dirf=0xFF;*dirk=0xFF;
  while(1){ 
    *outf = 0xFF;//by using portf & k the 7 segments
    *outk = 0xFF;//controlled(data registers)
  }
}

void loop() {
  // put your main code here, to run repeatedly:
  
}