Corrected some errors

Bool can't be used as a data type without including a library so made it
an int which returns 0 and 1. Also corrected the
get_floor_sensor_signal() to elev_get_floor_sensor_signal() which is the
correct function