Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • Thanks. Can you tell how to post a code better? There is not a A3, in the code, cause of it is default. that's why I don't how to change. Commented Jul 25, 2021 at 0:46
  • I have never done so at this point I will not try to explain it. There are many others that do a better job then I can. ADMUX = 0x03; Is one of the statements I believe you need to change it to ADMUX = 0x00; Let us know how you did? I chased the circuit back to simple circuits where somebody asked the same question. There answer was close to mine. " If you need to change A3 to A0 you must change the analog pin definition in the code" Commented Jul 25, 2021 at 0:59
  • perfect ! charged ADMUX = 0x03 as ADMUX = 0x00, it works. Thank you. Commented Jul 25, 2021 at 1:18
  • Actually, charged ADMUX = 0x03 as ADMUX = 0x02, A2 as input; but charged ADMUX = 0x03 as ADMUX = 0x01, A1-A7 non of as input works! WHY? Commented Jul 25, 2021 at 1:33
  • Did you move the connection to A0? Also check any references to ADMUX. Commented Jul 25, 2021 at 1:35