From 1a670ef8c66b5ec1e53caf3066016d968347a6bf Mon Sep 17 00:00:00 2001 From: Chris <11088935+caemor@users.noreply.github.com> Date: Fri, 27 Mar 2020 10:11:06 +0100 Subject: [PATCH] Update README.md --- README.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 899086a..8771ade 100644 --- a/README.md +++ b/README.md @@ -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