From 28b53f174ef454d71c66bc0d7d8aa067e36bf09e Mon Sep 17 00:00:00 2001 From: housten <14905544+housten@users.noreply.github.com> Date: Wed, 14 Dec 2022 17:35:15 +0100 Subject: [PATCH] Correct badge picture dimensions Using 108 resulted in a 'smeared' image because the image width is wrong for the result. Check the [getting started guide](https://learn.pimoroni.com/article/getting-started-with-badger-2040) where it says 104x128 for badge picture --- micropython/examples/badger2040/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/micropython/examples/badger2040/README.md b/micropython/examples/badger2040/README.md index 22a9bcba..ff9b2133 100644 --- a/micropython/examples/badger2040/README.md +++ b/micropython/examples/badger2040/README.md @@ -46,7 +46,7 @@ An example of drawing text and graphics and using the buttons. Create your own name badge! This application looks for two files on your MicroPython drive: * `badge.txt` - A text file containing 6 lines, corresponding to the 6 different pieces of text on the badge -* `badge-image.bin` - A 108x128px 1-bit colour depth image to display alongside the text. You can use `examples/badger2040/image_converter/convert.py` to convert them: +* `badge-image.bin` - A 104x128px 1-bit colour depth image to display alongside the text. You can use `examples/badger2040/image_converter/convert.py` to convert them: ```shell python3 convert.py --binary --resize image_file_1.png image_file_2.png image_file_3.png