Skip to content

Commit 686175d

Browse files
authored
Merge pull request #101 from makermelissa/master
Update Pillow Examples to include 1.47 and 1.9 inch displays
2 parents 281c014 + 16a044e commit 686175d

4 files changed

+8
-0
lines changed

examples/rgb_display_pillow_animated_gif.py

+2
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@ def run(self):
171171
# disp = st7789.ST7789(spi, rotation=90, # 2.0" ST7789
172172
# disp = st7789.ST7789(spi, height=240, y_offset=80, rotation=180, # 1.3", 1.54" ST7789
173173
# disp = st7789.ST7789(spi, rotation=90, width=135, height=240, x_offset=53, y_offset=40, # 1.14" ST7789
174+
# disp = st7789.ST7789(spi, rotation=90, width=172, height=320, x_offset=34, # 1.47" ST7789
175+
# disp = st7789.ST7789(spi, rotation=270, width=170, height=320, x_offset=35, # 1.9" ST7789
174176
# disp = hx8357.HX8357(spi, rotation=180, # 3.5" HX8357
175177
# disp = st7735.ST7735R(spi, rotation=90, # 1.8" ST7735R
176178
# disp = st7735.ST7735R(spi, rotation=270, height=128, x_offset=2, y_offset=3, # 1.44" ST7735R

examples/rgb_display_pillow_demo.py

+2
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@
4242
# disp = st7789.ST7789(spi, rotation=90, # 2.0" ST7789
4343
# disp = st7789.ST7789(spi, height=240, y_offset=80, rotation=180, # 1.3", 1.54" ST7789
4444
# disp = st7789.ST7789(spi, rotation=90, width=135, height=240, x_offset=53, y_offset=40, # 1.14" ST7789
45+
# disp = st7789.ST7789(spi, rotation=90, width=172, height=320, x_offset=34, # 1.47" ST7789
46+
# disp = st7789.ST7789(spi, rotation=270, width=170, height=320, x_offset=35, # 1.9" ST7789
4547
# disp = hx8357.HX8357(spi, rotation=180, # 3.5" HX8357
4648
# disp = st7735.ST7735R(spi, rotation=90, # 1.8" ST7735R
4749
# disp = st7735.ST7735R(spi, rotation=270, height=128, x_offset=2, y_offset=3, # 1.44" ST7735R

examples/rgb_display_pillow_image.py

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
# disp = st7789.ST7789(spi, rotation=90, # 2.0" ST7789
3838
# disp = st7789.ST7789(spi, height=240, y_offset=80, rotation=180, # 1.3", 1.54" ST7789
3939
# disp = st7789.ST7789(spi, rotation=90, width=135, height=240, x_offset=53, y_offset=40, # 1.14" ST7789
40+
# disp = st7789.ST7789(spi, rotation=90, width=172, height=320, x_offset=34, # 1.47" ST7789
41+
# disp = st7789.ST7789(spi, rotation=270, width=170, height=320, x_offset=35, # 1.9" ST7789
4042
# disp = hx8357.HX8357(spi, rotation=180, # 3.5" HX8357
4143
# disp = st7735.ST7735R(spi, rotation=90, # 1.8" ST7735R
4244
# disp = st7735.ST7735R(spi, rotation=270, height=128, x_offset=2, y_offset=3, # 1.44" ST7735R

examples/rgb_display_pillow_stats.py

+2
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
# disp = st7789.ST7789(spi, rotation=90, # 2.0" ST7789
4040
# disp = st7789.ST7789(spi, height=240, y_offset=80, rotation=180, # 1.3", 1.54" ST7789
4141
# disp = st7789.ST7789(spi, rotation=90, width=135, height=240, x_offset=53, y_offset=40, # 1.14" ST7789
42+
# disp = st7789.ST7789(spi, rotation=90, width=172, height=320, x_offset=34, # 1.47" ST7789
43+
# disp = st7789.ST7789(spi, rotation=270, width=170, height=320, x_offset=35, # 1.9" ST7789
4244
# disp = hx8357.HX8357(spi, rotation=180, # 3.5" HX8357
4345
# disp = st7735.ST7735R(spi, rotation=90, # 1.8" ST7735R
4446
# disp = st7735.ST7735R(spi, rotation=270, height=128, x_offset=2, y_offset=3, # 1.44" ST7735R

0 commit comments

Comments
 (0)