Menu

A/D conversion

Help
2011-03-21
2013-05-30
  • Nobody/Anonymous

    Using 16F876
    It has 10 bit A/D conversion
    But when reading the input, 256 is the highest value.
    Is this a limitation of GC basic, or a chip data is not correct?

     
  • Mauried

    Mauried - 2011-03-22

    Are you doing a 10 bit read into a word variable.
    Should be variable=readad10(anchannel).

     
  • Nobody/Anonymous

    Didn't know. that. Thanks!

     

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.