vex_sdk/
light_tower.rs

1//! CTE Workcell Signal Tower
2
3use crate::V5_DeviceT;
4
5unsafe extern "system" {
6    pub fn vexDeviceLightTowerBlinkSet(
7        device: V5_DeviceT,
8        select: u8,
9        mask: u8,
10        onTime: i32,
11        offTime: i32,
12    );
13    pub fn vexDeviceLightTowerColorSet(device: V5_DeviceT, color_id: u32, value: u32);
14    pub fn vexDeviceLightTowerRgbGet(device: V5_DeviceT) -> u32;
15    pub fn vexDeviceLightTowerRgbSet(device: V5_DeviceT, rgb_value: u32, xyw_value: u32);
16    pub fn vexDeviceLightTowerStatusGet(device: V5_DeviceT) -> u32;
17    pub fn vexDeviceLightTowerDebugGet(device: V5_DeviceT, id: i32) -> u32;
18    pub fn vexDeviceLightTowerXywGet(device: V5_DeviceT) -> u32;
19}