diff --git a/src/Oversampling.h b/src/Oversampling.h index 87f772c..3c817af 100644 --- a/src/Oversampling.h +++ b/src/Oversampling.h @@ -13,7 +13,7 @@ class Oversampling { public: Oversampling(int adcbytes, int samplebytes, int Averaging); - int read(int pin); + unsigned long read(int pin); private: int _samplebytes; int _adcbytes;