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 )