#include "portselection.h"
volatile long t_delay;
char numbers[10] = {0x3F,0x06,0x5B,0x4F,0x66,0x6d,0x7d,0x07,0x7f,0x6F};
char ones, tens, hundreds, thousands; // count 0 to 0,00, 999,9999
void setup() {
init_port();
}
void loop() {
for(thousands = 0;thousands < 10;thousands++){
for(hundreds = 0;hundreds < 10;hundreds++){
for(tens = 0;tens < 10;tens++){
for(ones = 0;ones<10;ones++){
output_c_a_k_f(numbers[ones],numbers[tens],numbers[hundreds],numbers[thousands]);
for(t_delay = 0;t_delay < 100000;t_delay++);
}
}
}
}
}