summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/driver/ads111x.h3
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 &copy);
@@ -80,6 +82,7 @@ class ADS111x {
};
void configure(unsigned short config);
+ int16_t readRaw();
float readVoltage();
};