Skip to content

Commit 742d336

Browse files
authored
Merge pull request #11 from makermelissa/main
Fix Touch on Square 480 x480 display
2 parents bebe4b2 + aa9d49f commit 742d336

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adafruit_qualia/displays/square40_480x480.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# SPDX-License-Identifier: MIT
55

66
"""
7-
`adafruit_qualia.displays.round40_480x480`
7+
`adafruit_qualia.displays.square40_480x480`
88
================================================================================
99
1010
4" 480x480 Square DotClock Display Class
@@ -31,6 +31,7 @@ class Square40_480x480(DotClockDisplay):
3131

3232
def __init__(self):
3333
super().__init__()
34+
self._touch_address = 0x48
3435
self._init_sequence = bytes(
3536
b"\xff\x05w\x01\x00\x00\x10"
3637
b"\xc0\x02;\x00"

0 commit comments

Comments
 (0)