Skip to content

Commit 8c04318

Browse files
use int
1 parent 2526f33 commit 8c04318

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Potentiometer_ADS1115/Potentiometer_ADS1115.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ class Potentiometer_ADS1115
2222

2323
private:
2424
int _channel;
25-
float _val;
26-
float _prev;
25+
int16_t _val;
26+
int16_t _prev;
2727
Method _callback;
2828
MultiPlexer_ADS1115* _adc;
2929
};

0 commit comments

Comments
 (0)