Page 1 of 2
Potentiometer not acting as analogue input
Posted: Tue Sep 20, 2022 2:03 pm
by Mikeatukstemdotuk
I have a10k pot with the wiper connected to A0 on an Arduiono R3. Setting a variable to be the value of this input doesn't seem to work. I'm trying o have the Pot control the off period for a flashing LED. When run the LED goes off for either 1s or 0s. Any help please. Thanks
Re: Potentiometer not acting as analogue input
Posted: Tue Sep 20, 2022 2:19 pm
by chipfryer27
Hi
If you could post your chart we can have a look and perhaps make suggestions.
Regards
Re: Potentiometer not acting as analogue input
Posted: Tue Sep 20, 2022 2:34 pm
by medelec35
Hello.
Also, take a look
here and see if it resolves your issue.
Re: Potentiometer not acting as analogue input
Posted: Wed Oct 19, 2022 3:21 pm
by Mikeatukstemdotuk
Hi, apologies for delay - I've been away for a while.
(I'm not sure how to post the chart - the add picture function here doesn't work)
Is there support I can email to?
Thanks
Re: Potentiometer not acting as analogue input
Posted: Wed Oct 19, 2022 3:32 pm
by stefan.erni
Hi Mikeatukstemdotuk
Can you try with drag and drop the picture? And resize the picture if it's large.
regards
Stefan
Re: Potentiometer not acting as analogue input
Posted: Wed Oct 19, 2022 3:33 pm
by Steve-Matrix
Click the "full editor & preview" button to reply to this post and click the "add file" button in the "attachments" tab to attach your Flowcode project file.
Re: Potentiometer not acting as analogue input
Posted: Wed Oct 19, 2022 5:02 pm
by Mikeatukstemdotuk
Hi When I click the 'add image button' I get this:
There is no 'add file' button that I can see
Re: Potentiometer not acting as analogue input
Posted: Wed Oct 19, 2022 5:13 pm
by Steve-Matrix
It will be here once you have clicked on the button to reply:

- 2022-10-19 17_12_28-Flowcode Support Board - Post a reply.png (13.35 KiB) Viewed 3080 times
Re: Potentiometer not acting as analogue input
Posted: Wed Oct 19, 2022 5:25 pm
by Mikeatukstemdotuk
Hiya
See the attachments button now
Two files are there - neither of which works on Arduino although the simulation works fine
Re: Potentiometer not acting as analogue input
Posted: Wed Oct 19, 2022 5:38 pm
by medelec35
Please, always post your project file that ends with .fcfx as from the images we can't see your component property settings that can have an effect on your hardware.