1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_stmpe811
2022-01-22 15:14:26 +01:00
..
app.config.test drivers/stmpe811: don't use a choice to select the bus 2022-01-22 15:14:26 +01:00
main.c drivers/stmpe811: use errno 2021-10-30 23:25:50 +02:00
Makefile drivers/stmpe811: add spi mode 2021-12-03 17:12:03 +01:00
Makefile.ci drivers/stmpe811: migrate to ztimer 2021-12-08 15:15:30 +01:00
README.md tests/driver_stmpe811: update application README 2020-07-22 09:59:39 +02:00

About

This is the test application for the STMPE811 touchscreen controller.

Usage

The application works out of the box on a STM32F429I-DISC1 board:

make -C tests/driver_stmpe811 flash term

Expected output

The application initializes the STMPE811 and displays "Pressed!" when a touch event is detected. The position of the touch event is also displayed. "Released" is displayed when the screen is released.

2020-07-21 21:24:49,286 # Pressed!
2020-07-21 21:24:49,293 # X: 132, Y:138
2020-07-21 21:24:49,826 # Released!
2020-07-21 21:24:51,218 # Pressed!
2020-07-21 21:24:51,219 # X: 42, Y:16
2020-07-21 21:24:51,614 # Released!
2020-07-21 21:24:53,385 # Pressed!
2020-07-21 21:24:53,385 # X: 197, Y:64
2020-07-21 21:24:53,588 # Released!