wpilib/lib.rs
1// Copyright 2018 First Rust Competition Developers.
2// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
3// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
4// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
5// option. This file may not be copied, modified, or distributed
6// except according to those terms.
7
8extern crate lazy_static;
9extern crate wpilib_sys;
10
11mod sensor_util;
12
13mod analog_input;
14pub use self::analog_input::AnalogInput;
15mod pdp;
16pub use self::pdp::PowerDistributionPanel;
17pub mod dio;
18pub mod ds;
19pub mod encoder;
20pub mod pneumatics;
21pub mod pwm;
22mod robot_base;
23pub use self::robot_base::*;
24pub mod serial;
25pub mod spi;
26
27pub use wpilib_sys::hal_call::{HalError, HalMaybe, HalResult};