Debug modifications for monitoring internals parameters
Fork of tsi_sensor by
Diff: tsi_sensor.h
- Revision:
- 5:37ae0d169e13
- Parent:
- 4:f64097679f27
diff -r f64097679f27 -r 37ae0d169e13 tsi_sensor.h --- a/tsi_sensor.h Mon Aug 04 07:43:15 2014 +0000 +++ b/tsi_sensor.h Tue Nov 11 22:18:10 2014 +0000 @@ -209,6 +209,13 @@ static TSIAnalogSlider *getInstance() { return _instance; } + + uint32_t getDelta0() { + return delta0; + } + uint32_t getDelta1() { + return delta1; + } private: void initObject(void); //shared constructor code void sliderRead(void); @@ -235,6 +242,9 @@ uint32_t _absolute_percentage_pos; uint32_t _absolute_distance_pos; uint8_t _range; + + uint32_t delta0; //= _elec0.getDelta(); + uint32_t delta1; // = _elec1.getDelta(); protected: static TSIAnalogSlider *_instance; };