From 3828a9b13774c0efaa90e61fd129bbf80bd12a5c Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 1 Jan 2023 19:55:26 +0100 Subject: ads111x: add readRaw function --- include/driver/ads111x.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/driver') 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 + class ADS111x { private: ADS111x(const ADS111x ©); @@ -80,6 +82,7 @@ class ADS111x { }; void configure(unsigned short config); + int16_t readRaw(); float readVoltage(); }; -- cgit v1.2.3