From 18312aa209a01f09b13d0d0427d981d4c88eb4c2 Mon Sep 17 00:00:00 2001 From: Hel Gibbons Date: Fri, 26 Apr 2024 12:59:27 +0100 Subject: [PATCH] revert pin changes --- examples/hat-mini/analog.py | 4 ++-- examples/hat-mini/input.py | 4 ++-- examples/hat-mini/output.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/hat-mini/analog.py b/examples/hat-mini/analog.py index f6e1890..c4aabdc 100755 --- a/examples/hat-mini/analog.py +++ b/examples/hat-mini/analog.py @@ -35,8 +35,8 @@ disp = st7735.ST7735( port=0, cs=st7735.BG_SPI_CS_FRONT, - dc="GPIO9", - backlight="GPIO25", + dc=9, + backlight=25, rotation=270, spi_speed_hz=4000000 ) diff --git a/examples/hat-mini/input.py b/examples/hat-mini/input.py index 299c2a0..491d026 100755 --- a/examples/hat-mini/input.py +++ b/examples/hat-mini/input.py @@ -27,8 +27,8 @@ disp = st7735.ST7735( port=0, cs=st7735.BG_SPI_CS_FRONT, - dc="GPIO9", - backlight="GPIO25", + dc=9, + backlight=25, rotation=270, spi_speed_hz=4000000 ) diff --git a/examples/hat-mini/output.py b/examples/hat-mini/output.py index ebbd21b..887b597 100755 --- a/examples/hat-mini/output.py +++ b/examples/hat-mini/output.py @@ -48,8 +48,8 @@ def draw_states(channels): disp = st7735.ST7735( port=0, cs=st7735.BG_SPI_CS_FRONT, - dc="GPIO9", - backlight="GPIO25", + dc=9, + backlight=25, rotation=270, spi_speed_hz=4000000 )