From 24228b150f90465066106bc12bdc45c45e9cad66 Mon Sep 17 00:00:00 2001 From: Roger Thomas Date: Thu, 28 Jan 2021 09:07:31 +0000 Subject: [PATCH] Fix typo --- micropython/modules/pico_unicorn/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/micropython/modules/pico_unicorn/README.md b/micropython/modules/pico_unicorn/README.md index 668ccd55..af5ca85a 100644 --- a/micropython/modules/pico_unicorn/README.md +++ b/micropython/modules/pico_unicorn/README.md @@ -106,7 +106,7 @@ Reads the GPIO pin connected to one of Pico Unicorn's buttons, returning `True` picounicorn.is_pressed(button) ``` -The button vaule should be a number denoting a pin, and constants `picounicorn.BUTTON_A`, `picounicorn.BUTTON_B`, `picounicorn.BUTTON_X` and `picounicorn.BUTTON_Y` are supplied to make it easier. e: +The button value should be a number denoting a pin, and constants `picounicorn.BUTTON_A`, `picounicorn.BUTTON_B`, `picounicorn.BUTTON_X` and `picounicorn.BUTTON_Y` are supplied to make it easier. e: ```python is_a_button_pressed = picounicorn.is_pressed(picounicorn.BUTTON_A) @@ -121,4 +121,4 @@ width = picounicorn.get_width() height = picounicorn.get_height() ``` -This is useful where you're looping through the rows and columns to display a pattern- such as a rainbow using `hsv_to_rgb`. \ No newline at end of file +This is useful where you're looping through the rows and columns to display a pattern- such as a rainbow using `hsv_to_rgb`.