#include "inc/accelerometer.h"
#include "inc/elevator.h"
#include "inc/led.h"
#include "inc/pressure_sensor.h"
#include "inc/serial_communication.h"
#include "inc/servo.h"
#include "inc/button.h"
Functions | |
void | elevatorButtonInterrupt (void *arg) |
elevatorButtonInterrupt interrupt routine that will update the elevator floor from the cart More... | |
Variables | |
Accelerometer | acc |
Led | floorLed [] |
int | floorLedSize = sizeof(floorLed)/sizeof(Led) |
Led | emergencyLed |
Led | arrow [] |
int | arrowSize = sizeof(arrow)/sizeof(Led) |
Button | elevatorButton [] |
int | elevatorButtonSize = sizeof(elevatorButton)/sizeof(Button) |
Button | emergencyButton |
Button | hc_sr501 |
Elevator | myElevator |
Servo | SG90 |
Button | dispatcherCallButton [] |
int | dispatcherCallButtonSize = sizeof(dispatcherCallButton)/sizeof(Button) |
void elevatorButtonInterrupt | ( | void * | arg | ) |
elevatorButtonInterrupt interrupt routine that will update the elevator floor from the cart
arg | arguments pass to the task |
Accelerometer acc |
Led arrow[] |
Button dispatcherCallButton[] |
int dispatcherCallButtonSize = sizeof(dispatcherCallButton)/sizeof(Button) |
Button elevatorButton[] |
int elevatorButtonSize = sizeof(elevatorButton)/sizeof(Button) |
Button emergencyButton |
Led floorLed[] |
Button hc_sr501 |
Elevator myElevator |
Servo SG90 |