2018-11-14 02:13:04 +00:00
|
|
|
#![no_std]
|
|
|
|
|
2018-11-13 07:13:52 +00:00
|
|
|
extern crate embedded_hal as hal;
|
|
|
|
|
2018-11-13 21:23:14 +00:00
|
|
|
mod command;
|
2018-11-13 07:13:52 +00:00
|
|
|
mod interface;
|
2018-11-14 02:13:04 +00:00
|
|
|
mod display;
|
2018-11-14 07:02:33 +00:00
|
|
|
mod graphics;
|
|
|
|
mod color;
|
2018-11-14 02:13:04 +00:00
|
|
|
|
|
|
|
pub use interface::DisplayInterface;
|
2018-11-14 07:02:33 +00:00
|
|
|
pub use interface::Interface;
|
|
|
|
pub use display::{Display, Dimensions, Rotation};
|
|
|
|
pub use graphics::GraphicDisplay;
|
|
|
|
pub use color::Color;
|
2018-11-13 07:13:52 +00:00
|
|
|
|
2018-11-13 05:41:24 +00:00
|
|
|
#[cfg(test)]
|
|
|
|
mod tests {
|
|
|
|
#[test]
|
|
|
|
fn it_works() {
|
|
|
|
assert_eq!(2 + 2, 4);
|
|
|
|
}
|
|
|
|
}
|