LESSON 2

INPUT

In this lesson, I will show to you how to receive signal on each pins

OBJECTIVE

PPORTA is an input and PORTB is an out which the input will interact with PORTB

PORTB

PORTB

RA

4

3

2

1

0

RB

7

6

5

4

3

2

1

0

0

0

0

0

1

=

1

1

1

1

1

1

1

1

0

0

0

1

0

=

1

0

1

0

1

0

1

0

0

0

1

0

0

=

0

1

0

1

0

1

0

1

0

1

0

0

0

=

1

1

0

0

1

1

0

0

1

0

0

0

0

=

0

0

1

1

0

0

1

1

No comments: