keyestudio
www.keyestudio.cc
79
case 3:
digitalWrite(d1,HIGH);
digitalWrite(d2, HIGH);
digitalWrite(d3, LOW);
digitalWrite(d4, HIGH);
break;
case 4:
digitalWrite(d1, HIGH);
digitalWrite(d2, HIGH);
digitalWrite(d3, HIGH);
digitalWrite(d4, LOW);
break;
default :
digitalWrite(d1, HIGH);
digitalWrite(d2, HIGH);
digitalWrite(d3, HIGH);
digitalWrite(d4, HIGH);
break;
}
}
void Num_0()
{
digitalWrite(a, HIGH);
digitalWrite(b, HIGH);
digitalWrite(c, HIGH);
digitalWrite(d, HIGH);
digitalWrite(e, HIGH);
digitalWrite(f, HIGH);
digitalWrite(g, LOW);
digitalWrite(dp,LOW);
}
void Num_1()
{
digitalWrite(a, LOW);
digitalWrite(b, HIGH);
digitalWrite(c, HIGH);
digitalWrite(d, LOW);
digitalWrite(e, LOW);
digitalWrite(f, LOW);
digitalWrite(g, LOW);
Summary of Contents for Basic starter kit
Page 1: ...1 ...
Page 10: ...keyestudio www keyestudio cc 8 Connection for 2560 R3 ...
Page 17: ...keyestudio www keyestudio cc 15 Connection for 2560 R3 ...
Page 21: ...keyestudio www keyestudio cc 19 Connection for 2560 R3 ...
Page 25: ...keyestudio www keyestudio cc 23 Connection for 2560 R3 ...
Page 29: ...keyestudio www keyestudio cc 27 Connection for 2560 R3 ...
Page 39: ...keyestudio www keyestudio cc 37 Connection for 2560 R3 ...
Page 62: ...keyestudio www keyestudio cc 60 Connection for 2560 R3 ...
Page 66: ...keyestudio www keyestudio cc 64 Connection for 2560 R3 ...
Page 77: ...keyestudio www keyestudio cc 75 Manual for LED segment display ...
Page 78: ...keyestudio www keyestudio cc 76 Connection for R3 Connection for 2560 R3 ...
Page 90: ...keyestudio www keyestudio cc 88 Connection for 2560 R3 ...
Page 94: ...keyestudio www keyestudio cc 92 ...
Page 95: ...keyestudio www keyestudio cc 93 Connection for R3 Connection for 2560 R3 ...