diff options
author | Tectu <joel@unormal.org> | 2012-08-13 02:51:30 +0200 |
---|---|---|
committer | Tectu <joel@unormal.org> | 2012-08-13 02:51:30 +0200 |
commit | e7f0c8e2c2791fd2e571c762f03e277161f98a4b (patch) | |
tree | df68fb99e038dce713226a16ac8b63f3dc653c87 /demos/touchpad/main.c | |
parent | 2285ddfc63b852e60fa0a95d32ffb6cc1d59c8a2 (diff) | |
download | uGFX-e7f0c8e2c2791fd2e571c762f03e277161f98a4b.tar.gz uGFX-e7f0c8e2c2791fd2e571c762f03e277161f98a4b.tar.bz2 uGFX-e7f0c8e2c2791fd2e571c762f03e277161f98a4b.zip |
added lcd demo dummy
Diffstat (limited to 'demos/touchpad/main.c')
-rw-r--r-- | demos/touchpad/main.c | 26 |
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); - } -} - |