[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/diy/ - Do It Yourself

Search:


View post   

>> No.1274633 [View]
File: 19 KB, 444x577, shit.png [View same] [iqdb] [saucenao] [google]
1274633

super-beginner here, trying to figure this out.

I have a project with a lot of buttons and pots, and i've run into this snag:

I want to be able to read the value of potentiometers and buttons at the exact same time, but if the button is pressed while the arduino reads the value from ADC, the value of the pot drops a bit. I'm assuming this is because the juice required to register a HIGH value in GPio is taken right from what would otherwise be going into ADC.

What can I do to fix this?

Navigation
View posts[+24][+48][+96]