Skip to content

Commit

Permalink
Merge pull request #31 from Fexiven/main
Browse files Browse the repository at this point in the history
Add support for M5Stack Core2 and CoreS3 (FT6336U)
  • Loading branch information
makermelissa committed Nov 6, 2023
2 parents 9b7c9a3 + 3a1b91b commit e37175a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions adafruit_focaltouch.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
====================================================
CircuitPython driver for common low-cost FocalTech capacitive touch chips.
Currently supports FT6206 & FT6236.
Currently supports FT6206, FT6236 & FT6336.
* Author(s): ladyada
Expand All @@ -22,6 +22,8 @@
* Adafruit `2.8" TFT Touch Shield for Arduino w/Capacitive Touch
<http://www.adafruit.com/product/1947>`_ (Product ID: 1947)
* M5Stack Core2 and CoreS3
**Software and Dependencies:**
* Adafruit CircuitPython firmware for the ESP8622 and M0-based boards:
Expand Down Expand Up @@ -88,7 +90,7 @@ def __init__(self, i2c, address=_FT_DEFAULT_I2C_ADDR, debug=False, irq_pin=None)
)
)

if vend_id not in (0x11, 0x42):
if vend_id not in (0x11, 0x42, 0x01):
raise RuntimeError("Did not find FT chip")

if chip_id == 0x06:
Expand Down

0 comments on commit e37175a

Please sign in to comment.