Skip to content

Commit 70d8097

Browse files
authored
Merge pull request #70 from makermelissa/master
Added missing commas and 240x240 better rotation
2 parents a75f260 + b1d38e2 commit 70d8097

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

examples/rgb_display_pillow_animated_gif.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ def run(self):
156156

157157
# pylint: disable=line-too-long
158158
# Create the display:
159-
#disp = st7789.ST7789(spi, rotation=90 # 2.0" ST7789
160-
#disp = st7789.ST7789(spi, height=240, y_offset=80, rotation=90 # 1.3", 1.54" ST7789
159+
#disp = st7789.ST7789(spi, rotation=90, # 2.0" ST7789
160+
#disp = st7789.ST7789(spi, height=240, y_offset=80, rotation=180, # 1.3", 1.54" ST7789
161161
#disp = st7789.ST7789(spi, rotation=90, width=135, height=240, x_offset=53, y_offset=40, # 1.14" ST7789
162162
#disp = hx8357.HX8357(spi, rotation=180, # 3.5" HX8357
163163
#disp = st7735.ST7735R(spi, rotation=90, # 1.8" ST7735R

examples/rgb_display_pillow_demo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525

2626
# pylint: disable=line-too-long
2727
# Create the display:
28-
#disp = st7789.ST7789(spi, rotation=90 # 2.0" ST7789
29-
#disp = st7789.ST7789(spi, height=240, y_offset=80, rotation=90 # 1.3", 1.54" ST7789
28+
#disp = st7789.ST7789(spi, rotation=90, # 2.0" ST7789
29+
#disp = st7789.ST7789(spi, height=240, y_offset=80, rotation=180, # 1.3", 1.54" ST7789
3030
#disp = st7789.ST7789(spi, rotation=90, width=135, height=240, x_offset=53, y_offset=40, # 1.14" ST7789
3131
#disp = hx8357.HX8357(spi, rotation=180, # 3.5" HX8357
3232
#disp = st7735.ST7735R(spi, rotation=90, # 1.8" ST7735R

examples/rgb_display_pillow_image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# pylint: disable=line-too-long
2323
# Create the display:
2424
#disp = st7789.ST7789(spi, rotation=90, # 2.0" ST7789
25-
#disp = st7789.ST7789(spi, height=240, y_offset=80, rotation=90, # 1.3", 1.54" ST7789
25+
#disp = st7789.ST7789(spi, height=240, y_offset=80, rotation=180, # 1.3", 1.54" ST7789
2626
#disp = st7789.ST7789(spi, rotation=90, width=135, height=240, x_offset=53, y_offset=40, # 1.14" ST7789
2727
#disp = hx8357.HX8357(spi, rotation=180, # 3.5" HX8357
2828
#disp = st7735.ST7735R(spi, rotation=90, # 1.8" ST7735R

examples/rgb_display_pillow_stats.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323

2424
# pylint: disable=line-too-long
2525
# Create the display:
26-
#disp = st7789.ST7789(spi, rotation=90 # 2.0" ST7789
27-
#disp = st7789.ST7789(spi, height=240, y_offset=80, rotation=90 # 1.3", 1.54" ST7789
26+
#disp = st7789.ST7789(spi, rotation=90, # 2.0" ST7789
27+
#disp = st7789.ST7789(spi, height=240, y_offset=80, rotation=180, # 1.3", 1.54" ST7789
2828
#disp = st7789.ST7789(spi, rotation=90, width=135, height=240, x_offset=53, y_offset=40, # 1.14" ST7789
2929
#disp = hx8357.HX8357(spi, rotation=180, # 3.5" HX8357
3030
#disp = st7735.ST7735R(spi, rotation=90, # 1.8" ST7735R

0 commit comments

Comments
 (0)