34 lines
426 B
Arduino
34 lines
426 B
Arduino
|
void setup() {
|
||
|
// put your setup code here, to run once:
|
||
|
|
||
|
}
|
||
|
|
||
|
class buttons() {
|
||
|
public:
|
||
|
int button1 = 22;
|
||
|
int button2 = 23;
|
||
|
int button3 = 24;
|
||
|
};
|
||
|
|
||
|
class 7segment() {
|
||
|
public:
|
||
|
void display(numberToDisplay) {
|
||
|
//bcd code
|
||
|
}
|
||
|
};
|
||
|
|
||
|
class led() {
|
||
|
public:
|
||
|
int led1 = 4;
|
||
|
int led2 = 5;
|
||
|
int led3 = 6;
|
||
|
void on(ledNumber) {
|
||
|
//out
|
||
|
}
|
||
|
};
|
||
|
|
||
|
void loop() {
|
||
|
// put your main code here, to run repeatedly:
|
||
|
|
||
|
}
|