|
|
|
@ -237,15 +237,7 @@ where |
|
|
|
/// buffer data marked as old, and new. This is used to determine which pixels need to change,
|
|
|
|
/// buffer data marked as old, and new. This is used to determine which pixels need to change,
|
|
|
|
/// and how they will change. This isn't required when using full refreshes.
|
|
|
|
/// and how they will change. This isn't required when using full refreshes.
|
|
|
|
///
|
|
|
|
///
|
|
|
|
/// Example:
|
|
|
|
/// (todo: Example ommitted due to CI failures.)
|
|
|
|
/// epd.update_partial_old_frame(spi, disp.buffer(), x, y, frame_width, frame_height)
|
|
|
|
|
|
|
|
/// .ok();
|
|
|
|
|
|
|
|
///
|
|
|
|
|
|
|
|
/// disp.clear_buffer(Color::White);
|
|
|
|
|
|
|
|
/// // Execute drawing commands here.
|
|
|
|
|
|
|
|
///
|
|
|
|
|
|
|
|
/// epd.update_partial_new_frame(spi, disp.buffer(), x, y, frame_width, frame_height)
|
|
|
|
|
|
|
|
/// .ok();
|
|
|
|
|
|
|
|
pub trait QuickRefresh<SPI, CS, BUSY, DC, RST> |
|
|
|
pub trait QuickRefresh<SPI, CS, BUSY, DC, RST> |
|
|
|
where |
|
|
|
where |
|
|
|
SPI: Write<u8>, |
|
|
|
SPI: Write<u8>, |
|
|
|
|