Nachrichten

Describe the bug analogRead(A0) - is returning a value that does not fit within 10 bits, like 3349. Guessing that analogRead is returning 12 bits, whereas the document: https://docs.arduino.cc/lang ...
AnalogPin is an Arduino class that adds noise filtering and smoothing to analogRead(). Furthermore it can speed up the analogRead() function by tuning the pre-scaler. This latter is AVR only.
Here using ATMEGA 4809 Arduino nano board and Capacitive Soil Moisture Sensor V2, I am trying to make an Automatic drip-irrigation system. Below is my code which is being used in the project. /* code ...