File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ Introduction
12
12
:target: https://discord.gg/nBQh6qu
13
13
:alt: Discord
14
14
15
- TODO
15
+ CircuitPython driver for common low-cost FocalTech capacitive touch chips.
16
+ Currently supports FT6206
16
17
17
18
Dependencies
18
19
=============
@@ -28,7 +29,22 @@ This is easily achieved by downloading
28
29
Usage Example
29
30
=============
30
31
31
- TODO
32
+ .. code-block :: python
33
+
34
+ import time
35
+ import busio
36
+ import board
37
+ from ft62xx import adafruit_ft62xx
38
+
39
+ # Create library object using our Bus I2C port
40
+ i2c = busio.I2C(board.SCL , board.SDA )
41
+
42
+ ft = adafruit_ft62xx.Adafruit_FT6206(i2c, debug = True )
43
+
44
+ while True :
45
+ n = ft.touched
46
+ if n:
47
+ print (ft.touches)
32
48
33
49
API Reference
34
50
=============
You can’t perform that action at this time.
0 commit comments