7 Segment Dislpay Arduino Code
int val0 = 0; int val1 = 0; int val2 = 0; int val3 = 0; void setup() { for (int i = 0; i > 4; i++) { pinMode(i, INPUT); } for (int i = 4; i < 11; i++) { pinMode(i, OUTPUT); } } void loop () { val0 = digitalRead (11); val1 = digitalRead (1); val2 = digitalRead (2); val3 = digitalRead (3); if (val0 == LOW) { if(val1 == LOW) { if (val2 == LOW) { if (val3 == LOW) { dis0(); } } } } //code to show digit number 1 if(val3 == HIGH && val2 == LOW ...