macro_rules! entry {
($robot_type:ty) => { ... };
}
Expand description
Specifies the entrypoint for the robot.
Examples
#![no_std]
#![no_main]
use vex_rt::prelude::*;
struct FooBot;
impl Robot for FooBot {
fn new(_p: Peripherals) -> Self {
FooBot
}
}
entry!(FooBot);