Hello,
i there a way to detect the type of a pin?
So that i can use analog and digital pins with one function.
Just need a high and low ... also on the analog pins.
Greetings
mike
Hello,
i there a way to detect the type of a pin?
So that i can use analog and digital pins with one function.
Just need a high and low ... also on the analog pins.
Greetings
mike
On an Uno the analog pins can also be used as digital pins (not at the same time, obviously). Your code can switch between these uses any time it likes. I don't understand why it would be necessary to be able to detect the type - what have you in mind?
...R