adafruit / ArduinoCore-samd

116 stars 119 forks source link

SAMD21 still using the analogRead with the ADC bug (not waiting for the first convertion to finish) :( #254

Open ricardodeazambuja opened 4 years ago

ricardodeazambuja commented 4 years ago

I spent a lot of time trying to find what was the problem with my sensor because the bug is fixed in the arduino/ArduinoCore-samd, so that made me think it would be fixed here as well since is such a simple fix.

https://github.com/adafruit/ArduinoCore-samd/blob/fd40287bcb2e993dfe21a5d9288e0f18383cb7eb/cores/arduino/wiring_analog.c#L378