mirror of
https://github.com/pimoroni/st7735-python.git
synced 2025-01-05 22:40:25 +03:00
11 lines
394 B
Python
11 lines
394 B
Python
def test_128_64_0(GPIO, spidev, numpy, st7735):
|
|
display = st7735.ST7735(port=0, cs=0, dc=24, width=128, height=64, rotation=0)
|
|
assert display.width == 128
|
|
assert display.height == 64
|
|
|
|
|
|
def test_128_64_90(GPIO, spidev, numpy, st7735):
|
|
display = st7735.ST7735(port=0, cs=0, dc=24, width=128, height=64, rotation=90)
|
|
assert display.width == 64
|
|
assert display.height == 128
|