[−][src]Crate push2_display
This rust library implements the Embedded-graphics-core DrawTarget
trait,
making it easy to draw 2D graphics primitives on the Push2 display.
Ableton Push2 is a MIDI instrument with a 960x160 RGB LCD display. Push2 is a USB composite device with a MIDI interface and a generic bulk data interface used to drive the display.
Examples
let mut display = Push2Display::new()?; Text::new("Hello!", Point::new(400, 70)) .into_styled(TextStyle::new(Font6x8, Bgr565::BLUE)) .draw(&mut display)?; display.flush()?;
git clone https://github.com/mbracher/push2_display
cd push2_display
cargo run --examples hello
References
Re-exports
pub use display::*; |
Modules
display |