Arduino Forum
Can i use Analog In pins as digital or analog?
Projects
General Guidance
wvmarle
April 4, 2018, 5:11am
2
Yes, just do a digitalRead() on your analog pins. Works exactly the same as the digital pins.
show post in topic
Related topics
Topic
Replies
Views
Activity
Digital analog inputs?
Programming
6
1631
May 5, 2021
Analog to digital pin
Programming
3
5539
May 5, 2021
analog/digital
General Guidance
7
1358
May 5, 2021
Pin Mix Ups
General Guidance
4
820
May 5, 2021
Possibly a dumb Q about input pins.
Frequently-Asked Questions
3
989
May 6, 2021