Elevator v1.0.0 State

A struct for the State of the elevator, direction and (last registered) floor Basis co urtesy of @jostlowe, modified by us.

Link to this section Summary

Link to this section Functions

Link to this function

get_valid_dirns()

Link to this function

state_machine(direction, floor, active_orders)