........ ........

Lesson 5 .... Input - output unit.

Tuesday, February 16, 2010

Input - output unit:

Those locations we've just added are called "
ports".
There are several types of ports : input, output or bidirectional ports.
When working with ports, first of all it is necessary to choose which port we need to work with, and then to send data to, or take it from the port.


When working with it the port acts like a memory location. Something is simply being written into or read from it, and it could be noticed on the pins of the microcontroller.

No comments:

Post a Comment