mirror of
https://github.com/pimoroni/st7735-python.git
synced 2025-01-05 22:40:25 +03:00
@@ -32,7 +32,7 @@ SPI_SPEED_MHZ = 10 # Higher speed = higher framerate
|
||||
disp = ST7735.ST7735(
|
||||
port=0,
|
||||
cs=0,
|
||||
dc=24,
|
||||
dc=9,
|
||||
backlight=18,
|
||||
rotation=90,
|
||||
spi_speed_hz=10 * 1000000
|
||||
|
||||
@@ -36,7 +36,7 @@ HEIGHT = ST7735.ST7735_TFTHEIGHT
|
||||
disp = ST7735.ST7735(
|
||||
port=0,
|
||||
cs=0,
|
||||
dc=24,
|
||||
dc=9,
|
||||
backlight=18,
|
||||
spi_speed_hz=4000000
|
||||
)
|
||||
|
||||
@@ -34,7 +34,7 @@ image_file = sys.argv[1]
|
||||
disp = ST7735.ST7735(
|
||||
port=0,
|
||||
cs=0,
|
||||
dc=24,
|
||||
dc=9,
|
||||
backlight=18,
|
||||
rotation=90,
|
||||
spi_speed_hz=4000000
|
||||
|
||||
@@ -29,7 +29,7 @@ import ST7735
|
||||
disp = ST7735.ST7735(
|
||||
port=0,
|
||||
cs=0,
|
||||
dc=24,
|
||||
dc=9,
|
||||
backlight=18,
|
||||
rotation=90,
|
||||
spi_speed_hz=4000000
|
||||
|
||||
Reference in New Issue
Block a user