Electronics > Electronics

analog port

(1/1)

Radiken:
It there a way to test if an I/O port is analog?

Admin:
the microcontroller datasheet should say which ports are analog (ADC).

the other way is to set the port as analog through software and attach an analog sensor to it. then do an if/then statement such as: if analog(port 1) is 125, then do something with another port.

Navigation

[0] Message Index

Go to full version