Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: houssem on October 05, 2011, 02:39:47 PM
-
hi i just have a simple question about the $50 Robot ; in this tutorial the first servo is connected with pin2 (PD0 rxd) . how can this servo be controlled through this input pin , i though that PD0 (RXd) is a receiver that is used to change data with the computer??? thanks
-
Hi,
[...] the first servo is connected with pin2 (PD0 rxd) . how can this servo be controlled through this input pin , i though that PD0 (RXd) is a receiver that is used to change data with the computer??? thanks
Many controller pins have several functions and their exact behaviour is decided in the software.
This pin can be used as RXD, but can be used as a generic I/O pin as well (not at the same time of course).
Look up the datasheet and study the parts describing I/O functions.
-
Thanks