Menu

please help with Atmeg32 and ADC

Help
2011-10-07
2013-05-30
  • Thomas Rymarzek

    Thomas Rymarzek - 2011-10-07

    Hello,

    I´m new with GCBasic and I´ve tryed to read in analog values from porta.0 at my  atmega32 demo board with the readad10(an0)  command. But it delivers only 1023. If I read the digital status of the porta.0 it works fine.
    I tryed some different values for AN0 like ADC0, AD0 or only 0 same result.  What could be wrong?
    Thomas

     
  • Nobody/Anonymous

    Do you tied 5V to AREF?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.