Potentiometer not acting as analogue input
-
- Posts: 7
- http://meble-kuchenne.info.pl
- Joined: Thu Sep 08, 2022 10:44 am
Potentiometer not acting as analogue input
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
-
- Valued Contributor
- Posts: 1528
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 353 times
- Been thanked: 549 times
Re: Potentiometer not acting as analogue input
Hi
If you could post your chart we can have a look and perhaps make suggestions.
Regards
If you could post your chart we can have a look and perhaps make suggestions.
Regards
-
- Posts: 7
- Joined: Thu Sep 08, 2022 10:44 am
Re: Potentiometer not acting as analogue input
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
(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
-
- Valued Contributor
- Posts: 1003
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 191 times
- Been thanked: 217 times
Re: Potentiometer not acting as analogue input
Hi Mikeatukstemdotuk
Can you try with drag and drop the picture? And resize the picture if it's large.
regards
Stefan
Can you try with drag and drop the picture? And resize the picture if it's large.
regards
Stefan
-
- Matrix Staff
- Posts: 1472
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 204 times
- Been thanked: 349 times
Re: Potentiometer not acting as analogue input
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.
-
- Posts: 7
- Joined: Thu Sep 08, 2022 10:44 am
Re: Potentiometer not acting as analogue input
Hi When I click the 'add image button' I get this:
![Image]()
There is no 'add file' button that I can see
There is no 'add file' button that I can see
-
- Matrix Staff
- Posts: 1472
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 204 times
- Been thanked: 349 times
Re: Potentiometer not acting as analogue input
It will be here once you have clicked on the button to reply:
-
- Posts: 7
- Joined: Thu Sep 08, 2022 10:44 am
Re: Potentiometer not acting as analogue input
Hiya
See the attachments button now
Two files are there - neither of which works on Arduino although the simulation works fine
See the attachments button now

Two files are there - neither of which works on Arduino although the simulation works fine
- Attachments
-
- Flowcode2.JPG (58.87 KiB) Viewed 3077 times
-
- Flowcode 1.JPG (68.17 KiB) Viewed 3077 times
-
- Matrix Staff
- Posts: 1924
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 623 times
- Been thanked: 645 times
Re: Potentiometer not acting as analogue input
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.
Martin