aboutsummaryrefslogtreecommitdiffstats
path: root/demos/touchpad
diff options
context:
space:
mode:
Diffstat (limited to 'demos/touchpad')
-rw-r--r--demos/touchpad/main.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/demos/touchpad/main.c b/demos/touchpad/main.c
deleted file mode 100644
index 1651a3bf..00000000
--- a/demos/touchpad/main.c
+++ /dev/null
@@ -1,26 +0,0 @@
-#include "ch.h"
-#include "hal.h"
-#include "gdisp.h"
-#include "touchpad.h"
-
-TOUCHPADDriver TOUCHPADD1 = {
- &SPID1,
-};
-
-int main(void) {
- halInit();
- chSysInit();
-
- gdispInit();
- gdispClear(Lime);
-
- tpInit(&TOUCHPADD1);
- tpCalibrate();
-
- while (TRUE) {
- gdispFillCircle(tpReadX(), tpReadY(), 3, Black);
-
- chThdSleepMilliseconds(100);
- }
-}
-