ssss
Fork of tsi_sensor by
Diff: tsi_sensor.h
- Revision:
- 3:20ffa9b18488
- Parent:
- 2:b7074bcc2376
- Child:
- 4:f64097679f27
--- a/tsi_sensor.h Sat Feb 22 15:42:11 2014 +0000 +++ b/tsi_sensor.h Sun Feb 23 18:31:58 2014 +0000 @@ -114,7 +114,7 @@ /** * Initialize the TSI Touch Sensor */ - TSIAnalogSlider(TSIElectrode& elec0, TSIElectrode& elec1, uint32_t range); + TSIAnalogSlider(uint32_t elec0, uint32_t elec1, uint32_t range); /** * Read Touch Sensor percentage value * @@ -182,8 +182,8 @@ _absolute_distance_pos = distance; } private: - TSIElectrode& _elec0; - TSIElectrode& _elec1; + TSIElectrode _elec0; + TSIElectrode _elec1; uint8_t _scan_in_progress; TSIElectrode* _current_elec; uint8_t _percentage_position[2];