Skip to content

Commit

Permalink
Fixed Pillow examples to match fritzing diagrams
Browse files Browse the repository at this point in the history
  • Loading branch information
makermelissa committed Nov 5, 2019
1 parent 9e71591 commit ed2e63c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions examples/rgb_display_pillow_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions examples/rgb_display_pillow_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions examples/rgb_display_pillow_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ed2e63c

Please sign in to comment.