Skip to content

Commit e37175a

Browse files
authored
Merge pull request #31 from Fexiven/main
Add support for M5Stack Core2 and CoreS3 (FT6336U)
2 parents 9b7c9a3 + 3a1b91b commit e37175a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

adafruit_focaltouch.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
====================================================
88
99
CircuitPython driver for common low-cost FocalTech capacitive touch chips.
10-
Currently supports FT6206 & FT6236.
10+
Currently supports FT6206, FT6236 & FT6336.
1111
1212
* Author(s): ladyada
1313
@@ -22,6 +22,8 @@
2222
* Adafruit `2.8" TFT Touch Shield for Arduino w/Capacitive Touch
2323
<http://www.adafruit.com/product/1947>`_ (Product ID: 1947)
2424
25+
* M5Stack Core2 and CoreS3
26+
2527
**Software and Dependencies:**
2628
2729
* Adafruit CircuitPython firmware for the ESP8622 and M0-based boards:
@@ -88,7 +90,7 @@ def __init__(self, i2c, address=_FT_DEFAULT_I2C_ADDR, debug=False, irq_pin=None)
8890
)
8991
)
9092

91-
if vend_id not in (0x11, 0x42):
93+
if vend_id not in (0x11, 0x42, 0x01):
9294
raise RuntimeError("Did not find FT chip")
9395

9496
if chip_id == 0x06:

0 commit comments

Comments
 (0)