#v5 #vex #bindings #api-bindings #high-level

no-std vexide-devices

High level device bindings for vexide

2 unstable releases

0.2.0 May 17, 2024
0.1.0 May 10, 2024

#32 in Robotics

Download history 140/week @ 2024-05-04 116/week @ 2024-05-11 140/week @ 2024-05-18

396 downloads per month
Used in 4 crates

MIT license

305KB
6K SLoC

vexide-devices

Functionality for accessing hardware connected to the V5 brain.

Overview

The V5 brain features 21 RJ9 4p4c connector ports (known as "Smart ports") for communicating with newer V5 peripherals, as well as six 3-wire ports with log-to-digital conversion capability for compatibility with legacy Cortex devices. This module provides access to both smart devices and ADI devices.

Organization

  • smart contains abstractions and types for smart port connected devices.
  • [adi] contains abstractions for three wire ADI connected devices.
  • battery provides functions for getting information about the currently connected battery.
  • controller provides types for interacting with the V5 controller.

lib.rs:

vexide-devices

Functionality for accessing hardware connected to the V5 brain.

Overview

The V5 brain features 21 RJ9 4p4c connector ports (known as "Smart ports") for communicating with newer V5 peripherals, as well as six 3-wire ports with log-to-digital conversion capability for compatibility with legacy Cortex devices. This module provides access to both smart devices and ADI devices.

Organization

  • smart contains abstractions and types for smart port connected devices.
  • [adi] contains abstractions for three wire ADI connected devices.
  • battery provides functions for getting information about the currently connected battery.
  • controller provides types for interacting with the V5 controller.

Dependencies

~1.4–9.5MB
~77K SLoC