Open-source Rust runtime for VEX robots.
vexide provides a safe and efficient runtime and toolchain for writing VEX V5 programs in the Rust Programming Language. 🦀
main.rs
#[vexide::main]
async fn main(peripherals: Peripherals) {
// Create a green motor on port 1.
let my_motor = Motor::new(
peripherals.port_1,
Gearset::Green,
Direction::Forward,
);
// Spin the motor at 10 volts!
my_motor.set_voltage(10.0).ok();
}
Thanksgiving Updates: vexide 0.5.0, AI Vision, Java/Kotlin on V5, evian
Happy thanksgiving everyone!