Arduino Nano 328

For general Flowcode discussion that does not belong in the other sections.
Post Reply
Vatel20
Posts: 19
http://meble-kuchenne.info.pl
Joined: Wed Dec 16, 2020 10:07 am

Arduino Nano 328

Post by Vatel20 »

It Does Not Read My ADC Inputs.
He sees them as Simple Port.
the simulation works properly.

mnfisher
Valued Contributor
Posts: 1628
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 142 times
Been thanked: 761 times

Re: Arduino Nano 328

Post by mnfisher »

Please post some code that demonstrates...

Martin

Vatel20
Posts: 19
Joined: Wed Dec 16, 2020 10:07 am

Re: Arduino Nano 328

Post by Vatel20 »

the number it displays is 1023 and they do not change
Attachments
TestTemp.fcfx
(14.86 KiB) Downloaded 482 times

LeighM
Valued Contributor
Posts: 489
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 83 times
Been thanked: 262 times

Re: Arduino Nano 328

Post by LeighM »

This could be due to the Vref option.
Please try the attached version.
Attachments
TestTemp.fcfx
(14.99 KiB) Downloaded 343 times

medelec35
Matrix Staff
Posts: 2086
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 644 times
Been thanked: 702 times

Re: Arduino Nano 328

Post by medelec35 »

Try changing Vref to AVCC, unless you have Vref pin connected to a voltage source?
Martin

medelec35
Matrix Staff
Posts: 2086
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 644 times
Been thanked: 702 times

Re: Arduino Nano 328

Post by medelec35 »

Woops, Leigh just beat me to it lol
Martin

Vatel20
Posts: 19
Joined: Wed Dec 16, 2020 10:07 am

Re: Arduino Nano 328

Post by Vatel20 »

Thank you for your help the problem was solved.

Post Reply