From 61531412cf240ada4da2f001199c20226984561f Mon Sep 17 00:00:00 2001 From: Grant Miller Date: Fri, 28 Aug 2020 15:26:46 -0500 Subject: [PATCH] Add comment to pixel format set --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 682b04d..9b52a2d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -110,6 +110,7 @@ where ili9341.set_orientation(Orientation::Portrait)?; + // Set pixel format to 16 bits per pixel ili9341.command(Command::PixelFormatSet, &[0x55])?; ili9341.command(Command::SleepOut, &[])?;