SmartWheels self-driving race car. Designed for NXP Cup. Uses FRDM-KL25Z, area-scan camera, and simple image processing to detect and navigate any NXP spec track.
Dependencies: TSI USBDevice mbed-dev
Fork of SmartWheels by
Hardwares/ArduTouch.h@79:bdbac82c979b, 2017-04-18 (annotated)
- Committer:
- hazheng
- Date:
- Tue Apr 18 17:43:12 2017 +0000
- Branch:
- Drift
- Revision:
- 79:bdbac82c979b
- Parent:
- 78:9f20bf037db6
- Child:
- 80:c85cb93713b3
Finished the basic function of the touch screen.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
hazheng | 78:9f20bf037db6 | 1 | #pragma once |
hazheng | 78:9f20bf037db6 | 2 | #ifndef ARDU_TOUCH_H |
hazheng | 78:9f20bf037db6 | 3 | #define ARDU_TOUCH_H |
hazheng | 78:9f20bf037db6 | 4 | |
hazheng | 79:bdbac82c979b | 5 | #include <mbed.h> |
hazheng | 79:bdbac82c979b | 6 | |
hazheng | 78:9f20bf037db6 | 7 | #ifdef __cplusplus |
hazheng | 78:9f20bf037db6 | 8 | extern "C" { |
hazheng | 78:9f20bf037db6 | 9 | #endif |
hazheng | 78:9f20bf037db6 | 10 | |
hazheng | 79:bdbac82c979b | 11 | void ardu_touch_init(); |
hazheng | 78:9f20bf037db6 | 12 | |
hazheng | 79:bdbac82c979b | 13 | void ardu_touch_get_pos(int16_t* x, int16_t* y); |
hazheng | 78:9f20bf037db6 | 14 | |
hazheng | 78:9f20bf037db6 | 15 | #ifdef __cplusplus |
hazheng | 78:9f20bf037db6 | 16 | } |
hazheng | 78:9f20bf037db6 | 17 | #endif |
hazheng | 78:9f20bf037db6 | 18 | |
hazheng | 78:9f20bf037db6 | 19 | #endif //ARDU_TOUCH_H |