Simple test

Ensure your device works with this simple test.

examples/ft5336_simpletest.py
 1# SPDX-FileCopyrightText: 2023 Liz Clark for Adafruit Industries
 2# SPDX-License-Identifier: MIT
 3
 4"""
 5Demo for the FT5336. Reads all available touch input coordinates.
 6"""
 7
 8import time
 9
10import board
11
12import adafruit_ft5336
13
14i2c = board.I2C()
15touch = adafruit_ft5336.Adafruit_FT5336(i2c)
16
17while True:
18    t = touch.points
19    print(t)
20    time.sleep(0.1)