Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: Radiken on March 18, 2007, 10:08:46 PM
-
It there a way to test if an I/O port is analog?
-
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.