Skip to content

Add support for M5Stack Core2 and CoreS3 (FT6336U) #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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