vex_sdk::device

Function vexDevicesGetNumber

Source
pub unsafe fn vexDevicesGetNumber() -> u32
Expand description

Get the number of device ports currently present on this system.

As of VEXos 1.1.4, this number is the constant 23.

ยงSafety

Calls to jumptable functions are unsafe because jumptable functions are owned by VEXos and we cannot guarantee their safety.