From fb071b8f6c9967065f77ade0b1568e956da1089a Mon Sep 17 00:00:00 2001 From: Melissa LeBlanc-Williams Date: Wed, 20 Nov 2019 11:06:43 -0800 Subject: [PATCH] Updated Pillow Example Pins to match PiTFT --- examples/rgb_display_pillow_demo.py | 4 ++-- examples/rgb_display_pillow_image.py | 4 ++-- examples/rgb_display_pillow_stats.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/rgb_display_pillow_demo.py b/examples/rgb_display_pillow_demo.py index 08578dc..ef12e15 100644 --- a/examples/rgb_display_pillow_demo.py +++ b/examples/rgb_display_pillow_demo.py @@ -14,8 +14,8 @@ # Configuration for CS and DC pins (these are PiTFT defaults): cs_pin = digitalio.DigitalInOut(board.CE0) -dc_pin = digitalio.DigitalInOut(board.D24) -reset_pin = digitalio.DigitalInOut(board.D25) +dc_pin = digitalio.DigitalInOut(board.D25) +reset_pin = digitalio.DigitalInOut(board.D24) # Config for display baudrate (default max is 24mhz): BAUDRATE = 24000000 diff --git a/examples/rgb_display_pillow_image.py b/examples/rgb_display_pillow_image.py index 2fce392..d9860b2 100644 --- a/examples/rgb_display_pillow_image.py +++ b/examples/rgb_display_pillow_image.py @@ -10,8 +10,8 @@ # Configuration for CS and DC pins (these are PiTFT defaults): cs_pin = digitalio.DigitalInOut(board.CE0) -dc_pin = digitalio.DigitalInOut(board.D24) -reset_pin = digitalio.DigitalInOut(board.D25) +dc_pin = digitalio.DigitalInOut(board.D25) +reset_pin = digitalio.DigitalInOut(board.D24) # Config for display baudrate (default max is 24mhz): BAUDRATE = 24000000 diff --git a/examples/rgb_display_pillow_stats.py b/examples/rgb_display_pillow_stats.py index c9ee508..069a832 100644 --- a/examples/rgb_display_pillow_stats.py +++ b/examples/rgb_display_pillow_stats.py @@ -12,8 +12,8 @@ # Configuration for CS and DC pins (these are PiTFT defaults): cs_pin = digitalio.DigitalInOut(board.CE0) -dc_pin = digitalio.DigitalInOut(board.D24) -reset_pin = digitalio.DigitalInOut(board.D25) +dc_pin = digitalio.DigitalInOut(board.D25) +reset_pin = digitalio.DigitalInOut(board.D24) # Config for display baudrate (default max is 24mhz): BAUDRATE = 24000000