16 #define MAX_SENSOR_BYTES 20 19 kSensorTypeTouchKey = 0,
24 static const int kSensorBytes[3] = {9, 13, 20};
34 char dataBuffer[MAX_SENSOR_BYTES];
37 int rawSliderPosition[5];
38 int rawSliderPositionH;
42 float sliderPosition[5];
43 float sliderPositionH;
47 int initTouchKey(
int sensorTypeToUse = kSensorTypeTouchKey);
50 float * getSlidersize();
51 float * getSliderPosition();
52 float getSliderPositionH();
54 bool ready() {
return isReady; }
61 inline int I2c_TouchKey::getTouchCount()
66 inline float * I2c_TouchKey::getSlidersize()
71 inline float * I2c_TouchKey::getSliderPosition()
73 return sliderPosition;
76 inline float I2c_TouchKey::getSliderPositionH()
78 return sliderPositionH;
Definition: I2c_TouchKey.h:26