Archive for 23 Jul 2016

analogRead alternative (Part2)

Part 1, 2 Starting from the presentation of the parametric version of an alternate analogRead function, here is a lean version of the whole code. The header section of the code /* Sampling parameters */ uint32_t _interval = 200; /* Interval between two consecutive ADC reading cycles */ uint32_t _lastTime; Next comes the ‘setup’ routine […]