Const Int Numeral
Const Int Numeral
B00000101, //0
B10011111, //1
B00100110, //2
B00001110, //3
B10011100, //4
B01001100, //5
B11000100, //6
B00011111, //7
B00000100, //8
B00011100, //9
};
const int maxValue = 999; //the timer would no longer run when this number is reached
//pin definitions
void setup() {
pinMode(toggleSwitch, INPUT);
Serial.begin(9600);
runFlag = 0;
number = 0;
void loop(){
//The code will count down ever second that has passed
number++;
lastUpdate = timeElapsed;
int runFlag = 0;
//Multiplexing Code
//Ones Digit
if(i == 0)
//[incomplete]
delay(1);
//Tens Digit
else if(i == 1)
switchKey = 0;
//[incomplete]
delay(1);
//Hundreds Digit
reset();
}
//display code for hundreds digit
delay(1);