Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

Arduino nano "analogRead(6)" it does not work

2 posters

Go down  Message [Page 1 of 1]

feri



Arduino nano "analogRead(6)" it does not work .
Greetings



Last edited by arcachofo on Fri Dec 24, 2021 2:47 am; edited 1 time in total (Reason for editing : Marked as solved (green color))

arcachofo

arcachofo

It's working for me.

Can you share your code and circuit or provide some more details?

feri



sorry my mistake I used an old version.
Greetings

arcachofo likes this post

feri



But I don't understand how it works since the pins are called A6 A7 while the tunnel PB6 PB7.
Attachments
Arduino nano "analogRead(6)" it does not work  AttachmentNano1.png
You don't have permission to download attachments.
(38 Kb) Downloaded 0 times

arcachofo

arcachofo

Now I understand...

That is the subcircuit version of Arduino Nano.
In 0.4.15 that one is not used, it is available as "experimental" in the lower part of the component list.

And you are right, in the subcircuit version of Arduino Nano, ADC6 and ADC7 dont work.
That needs the TQFP version of the atmegas which don't exist in simulide.
This package has 2 extra pins for ADC6 & ADC7.

I think I should delete these "experimental" Arduinos from 0.4.15 to avoid cofusions.

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum