elevator_project/elevator1/elevator1.ino

34 lines
426 B
Arduino
Raw Normal View History

2021-03-08 20:53:08 +00:00
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:
}