Update README.md

This commit is contained in:
Chris
2020-03-27 10:11:06 +01:00
committed by GitHub
parent 5ba408d5a7
commit 1a670ef8c6
+2 -5
View File
@@ -31,11 +31,8 @@ display.draw(
.draw(display);
);
// Transfer the frame data to the epd
epd.update_frame(&mut spi, &display.buffer())?;
// Display the frame on the epd
epd.display_frame(&mut spi)?;
// Transfer the frame data to the epd and display it
epd.update_and_display_frame(&mut spi, &display.buffer())?;
```
## (Supported) Devices