elevator_project/elevator1/elevator1.ino

41 lines
554 B
C++

void setup() {
// put your setup code here, to run once:
}
class button() {
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;
};
class detectors() {
public:
int detector1b = 25;
int detector1t = 26;
int detector1b = 27;
int detector2t = 28;
int detector3b = 29;
int detector3t = 30;
};
void loop() {
// put your main code here, to run repeatedly:
}