diff --git a/examples/CenteredAnalogRead/CenteredAnalogRead.ino b/examples/CenteredAnalogRead/CenteredAnalogRead.ino new file mode 100644 index 0000000..404c686 --- /dev/null +++ b/examples/CenteredAnalogRead/CenteredAnalogRead.ino @@ -0,0 +1,11 @@ +#include "Speeduino.h" + +void setup() { +AnalogBegin(12,1); +FastAttachADC(2, 1); +Serial.begin(9600); +} + +void loop() { +Serial.println(AnalogCollect()); +} \ No newline at end of file