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 haofan Zheng

Hardwares/ArduTouch.h

Committer:
hazheng
Date:
2017-04-18
Branch:
Drift
Revision:
80:c85cb93713b3
Parent:
79:bdbac82c979b
Child:
93:8e1bd3602d53

File content as of revision 80:c85cb93713b3:

#pragma once
#ifndef ARDU_TOUCH_H
#define ARDU_TOUCH_H

#include <mbed.h>

#ifdef __cplusplus
extern "C" {
#endif

void ardu_touch_init();

void ardu_touch_get_pos(int16_t* x, int16_t* y);

void ardu_touch_set_irq_function(void(*irq_func)(void));

void ardu_touch_set_pos_function(void(*pos_func)(int16_t, int16_t));

#ifdef __cplusplus
}
#endif

#endif //ARDU_TOUCH_H