mirror of
https://github.com/Anshorei/epd-waveshare.git
synced 2026-10-03 22:06:43 +00:00
use prelude in examples
This commit is contained in:
@@ -11,8 +11,7 @@ use eink_waveshare_rs::{
|
|||||||
Buffer1in54,
|
Buffer1in54,
|
||||||
},
|
},
|
||||||
graphics::{Display, DisplayRotation},
|
graphics::{Display, DisplayRotation},
|
||||||
color::Color,
|
prelude::*,
|
||||||
WaveshareDisplay,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
use lin_hal::spidev::{self, SpidevOptions};
|
use lin_hal::spidev::{self, SpidevOptions};
|
||||||
|
|||||||
@@ -11,8 +11,7 @@ use eink_waveshare_rs::{
|
|||||||
Buffer4in2,
|
Buffer4in2,
|
||||||
},
|
},
|
||||||
graphics::{Display, DisplayRotation},
|
graphics::{Display, DisplayRotation},
|
||||||
color::Color,
|
prelude::*,
|
||||||
WaveshareDisplay,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
extern crate embedded_graphics;
|
extern crate embedded_graphics;
|
||||||
|
|||||||
Reference in New Issue
Block a user