From dae16ea7775e2ef67d17abac22fc2da4c53970c0 Mon Sep 17 00:00:00 2001 From: helgibbons <50950368+helgibbons@users.noreply.github.com> Date: Tue, 8 Mar 2022 17:47:10 +0000 Subject: [PATCH] Update README.md --- micropython/modules/badger2040/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/micropython/modules/badger2040/README.md b/micropython/modules/badger2040/README.md index 62c088ae..5b2f9f26 100644 --- a/micropython/modules/badger2040/README.md +++ b/micropython/modules/badger2040/README.md @@ -89,7 +89,7 @@ font(font) led(brightness) -image(data, w=298, h=128, x=0, y=0) +image(data, w=296, h=128, x=0, y=0) icon(data, icon_index, sheet_size, icon_size) clear() @@ -296,7 +296,7 @@ In all cases your images should be a multiple of 8 pixels wide. ```python image( data, # bytearray: raw image data 1bpp - w=298, # int: width in pixels + w=296, # int: width in pixels h=128, # int: height in pixels x=0, # int: destination x y=0, # int: destination y