Update README.md

embedded-hal-1.0
Chris 2020-03-27 10:11:06 +01:00 committed by GitHub
parent 5ba408d5a7
commit 1a670ef8c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 5 deletions

View File

@ -31,11 +31,8 @@ display.draw(
.draw(display); .draw(display);
); );
// Transfer the frame data to the epd // Transfer the frame data to the epd and display it
epd.update_frame(&mut spi, &display.buffer())?; epd.update_and_display_frame(&mut spi, &display.buffer())?;
// Display the frame on the epd
epd.display_frame(&mut spi)?;
``` ```
## (Supported) Devices ## (Supported) Devices