From f5897f28a2c175dd5ce7a016474e144841f91ec1 Mon Sep 17 00:00:00 2001 From: Ircama Date: Tue, 15 Feb 2022 01:42:38 +0100 Subject: [PATCH] Set "unsigned long" also in the header unsigned long read(int pin) --- src/Oversampling.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;