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
 9import board
10import adafruit_ft5336
11
12i2c = board.I2C()
13touch = adafruit_ft5336.Adafruit_FT5336(i2c)
14
15while True:
16    t = touch.points
17    print(t)
18    time.sleep(0.1)