Society of Robots - Robot Forum
General Misc => Misc => Topic started by: MaltiK on October 27, 2008, 04:30:21 PM
-
The only difference I see is they require a different code, other than that are they not completely interchangeable?
also what are the advantages/disadvantages of each?
-
Inputs and outputs of what?
Can you elaborate?
-
Inputs are usually for sensors, for something that goes in....while outputs are for something that goes out, like servos or motors.
An analogy would be your keyboard as an input and your screen as the output.
-
io ports or input/output ports are usually the same thing. They can normally be used for input OR output, it up to you to decide what they are configured for and when
-
ok well in my setup:
input:
record
playback
output:
motor
are they interchangeable?
-
If you are asking if the ports on the IC are interchangeable, yes to some degree. The ports on the IC have different features that will make them useful for certain applications (for example, a port with an ADC converter will be better for sensors than driving motors)
-
Oh yes, ports on a MCU can be toggled between input and output.
I thought you meant something like push play on your motor and the play button spins your tape :P