diff options
author | Daniel Friesel <derf@finalrewind.org> | 2023-01-01 19:55:26 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2023-01-01 19:55:26 +0100 |
commit | 3828a9b13774c0efaa90e61fd129bbf80bd12a5c (patch) | |
tree | 438cdcd8c39382a470c2c869f8f31415fbc25425 /include/driver | |
parent | 7f0db02066a7554b959fa264fcc200b2a2e4c929 (diff) |
ads111x: add readRaw function
Diffstat (limited to 'include/driver')
-rw-r--r-- | include/driver/ads111x.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/driver/ads111x.h b/include/driver/ads111x.h index f25dcde..54cd876 100644 --- a/include/driver/ads111x.h +++ b/include/driver/ads111x.h @@ -8,6 +8,8 @@ #ifndef ADS111x_H #define ADS111x_H +#include <stdint.h> + class ADS111x { private: ADS111x(const ADS111x ©); @@ -80,6 +82,7 @@ class ADS111x { }; void configure(unsigned short config); + int16_t readRaw(); float readVoltage(); }; |