#include "7_segment.h"
void setup() {
// put your setup code here, to run once:
init_port();
}
void loop() {
// put your main code here, to run repeatedly:
char i;
volatile long wait;
for (i = 0; i <= 9; i++) {
output_data(i);
for (wait = 0; wait < 300000; wait++);
}
}
// Display 0 to 9 without decimal points