From ddfa935806223dfe0291acedff68c281b48a306b Mon Sep 17 00:00:00 2001 From: Albert van Dalen Date: Sun, 8 Sep 2024 00:04:02 +0200 Subject: [PATCH] Delete examples/exampleAnalogReadFast.ino --- examples/exampleAnalogReadFast.ino | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 examples/exampleAnalogReadFast.ino diff --git a/examples/exampleAnalogReadFast.ino b/examples/exampleAnalogReadFast.ino deleted file mode 100644 index 7c61746..0000000 --- a/examples/exampleAnalogReadFast.ino +++ /dev/null @@ -1,18 +0,0 @@ -// http://www.avdweb.nl/arduino/libraries/fast-10-bit-adc.html - -#include "avdweb_AnalogReadFast.h" -const byte adcPin = A1; - -#if defined(__arm__) -analogReadResolution(12); -//analogReadResolution(10); -#endif - -void setup(void) -{ Serial.begin(9600); - //analogRead(adcPin); // first analogRead is wrong -} - -void loop(void) -{ Serial.println(analogReadFast(adcPin)); -}