void setup() {
// put your setup code here, to run once:
volatile char *dirF,*dirk,*dirL,*dirC;
dirF=0x30;
*dirF=0xFF;
dirk=0x107;
*dirk=0xFF;
dirL=0x10A;
*dirL=0xFF;
dirC=0x27;
*dirC=0xFF;
}
void loop() {
// put your main code here, to run repeatedly:
volatile long num[10]={0x3F,0x06,0x5B,0x4F,0x66,0x6D,0x7D,0x07,0x7F,0x67};
volatile long num_with_decimal[10]={0xBF,0x86,0xDB,0xE6,0xED,0xFD,0x87,0xFF,0xE7};
volatile long i,j;
volatile char *outF,*outk,*outL;
volatile char *outC;
outF=0x31;
outk=0x108;
outL=0x10B;
outC=0x28;
*outF=num[3];
*outk=num[2];
*outL=num[0];
*outC=0x3F;
delay(1000);
}