Module misc

Module misc 

Source

Structs§

date_s_t
time_s_t

Constants§

COMPETITION_AUTONOMOUS
COMPETITION_CONNECTED
COMPETITION_DISABLED
E_CONTROLLER_ANALOG_LEFT_X
E_CONTROLLER_ANALOG_LEFT_Y
E_CONTROLLER_ANALOG_RIGHT_X
E_CONTROLLER_ANALOG_RIGHT_Y
E_CONTROLLER_DIGITAL_A
E_CONTROLLER_DIGITAL_B
E_CONTROLLER_DIGITAL_DOWN
E_CONTROLLER_DIGITAL_L1
E_CONTROLLER_DIGITAL_L2
E_CONTROLLER_DIGITAL_LEFT
E_CONTROLLER_DIGITAL_R1
E_CONTROLLER_DIGITAL_R2
E_CONTROLLER_DIGITAL_RIGHT
E_CONTROLLER_DIGITAL_UP
E_CONTROLLER_DIGITAL_X
E_CONTROLLER_DIGITAL_Y
E_CONTROLLER_MASTER
E_CONTROLLER_PARTNER
NUM_V5_PORTS

Statics§

baked_date
baked_time

Functions§

battery_get_capacity
Gets the current capacity of the battery, as reported by VEXos.
battery_get_current
Gets the current current of the battery, as reported by VEXos.
battery_get_temperature
Gets the current temperature of the battery, as reported by VEXos.
battery_get_voltage
Gets the current voltage of the battery, as reported by VEXos.
competition_get_status
Get the current status of the competition control. Returns The competition control status as a mask of bits with COMPETITION_{ENABLED,AUTONOMOUS,CONNECTED}.
controller_clear
Clears all of the lines on the controller screen.
controller_clear_line
Clears an individual line of the controller screen.
controller_get_analog
Gets the value of an analog channel (joystick) on a controller.
controller_get_battery_capacity
Gets the battery capacity of the given controller.
controller_get_battery_level
Gets the battery level of the given controller.
controller_get_digital
Checks if a digital channel (button) on the controller is currently pressed.
controller_get_digital_new_press
Returns a rising-edge case for a controller button press.
controller_is_connected
Checks if the controller is connected.
controller_print
Sets text to the controller LCD screen.
controller_rumble
Rumble the controller.
controller_set_text
Sets text to the controller LCD screen.
usd_is_installed
Checks if the SD card is installed.

Type Aliases§

controller_analog_e_t
controller_digital_e_t
controller_id_e_t