EmbedEd
/
mbed_theremin
xypad theremin for LPC1768
touch.h@2:c5eeaf1c8e69, 2016-03-14 (annotated)
- Committer:
- exopiped
- Date:
- Mon Mar 14 23:43:44 2016 +0000
- Revision:
- 2:c5eeaf1c8e69
- Parent:
- 0:8ee38453bad9
touch screen driver glitches removed; debug statements commented out
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
exopiped | 0:8ee38453bad9 | 1 | /* |
exopiped | 0:8ee38453bad9 | 2 | * touch.h -- interface definition for touch screen monitor |
exopiped | 0:8ee38453bad9 | 3 | */ |
exopiped | 0:8ee38453bad9 | 4 | #ifndef TOUCH_H |
exopiped | 0:8ee38453bad9 | 5 | #define TOUCH_H |
exopiped | 0:8ee38453bad9 | 6 | #define TOUCH_MAX_AMPLITUDE 255 |
exopiped | 0:8ee38453bad9 | 7 | #define TOUCH_MAX_FREQUENCY 1047 |
exopiped | 0:8ee38453bad9 | 8 | #define TOUCH_MIN_FREQUENCY 43 |
exopiped | 0:8ee38453bad9 | 9 | bool touch_init(void); |
exopiped | 0:8ee38453bad9 | 10 | int touch_get_xy(short *x,short *y); |
exopiped | 0:8ee38453bad9 | 11 | bool touch_debounce(void); |
exopiped | 0:8ee38453bad9 | 12 | int touch_frequency(void); |
exopiped | 0:8ee38453bad9 | 13 | int touch_amplitude(void); |
exopiped | 0:8ee38453bad9 | 14 | #endif |