Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

AnalogRead() on arduino uno

  1. Sep 23, 2015 #1

    cnh1995

    User Avatar
    Homework Helper
    Gold Member

    I connected the A0 pin of arduino uno to +5V and read the voltage using analogRead () and displayed the result and elapsed time on the serial monitor. Its reading only 30 samples per second. What's going wrong? How do I change the clock prescaler for the ADC?
     
  2. jcsd
  3. Sep 23, 2015 #2

    Hesch

    User Avatar
    Gold Member

    Last edited: Sep 23, 2015
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook