From ed2e63cfa1eedf97c85a0645c8e1fe0e57e9cca8 Mon Sep 17 00:00:00 2001 From: Melissa LeBlanc-Williams Date: Tue, 5 Nov 2019 08:41:29 -0800 Subject: [PATCH] Fixed Pillow examples to match fritzing diagrams --- 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 ef12e15..08578dc 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.D25) -reset_pin = digitalio.DigitalInOut(board.D24) +dc_pin = digitalio.DigitalInOut(board.D24) +reset_pin = digitalio.DigitalInOut(board.D25) # 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 d9860b2..2fce392 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.D25) -reset_pin = digitalio.DigitalInOut(board.D24) +dc_pin = digitalio.DigitalInOut(board.D24) +reset_pin = digitalio.DigitalInOut(board.D25) # 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 069a832..c9ee508 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.D25) -reset_pin = digitalio.DigitalInOut(board.D24) +dc_pin = digitalio.DigitalInOut(board.D24) +reset_pin = digitalio.DigitalInOut(board.D25) # Config for display baudrate (default max is 24mhz): BAUDRATE = 24000000