View previous topic :: View next topic |
Author |
Message |
edi
Joined: 22 Dec 2003 Posts: 82
|
Combine 8 bit io port |
Posted: Mon May 27, 2013 1:13 pm |
|
|
What is the best and fast way to combine 8 different IO pins into 1 int8.
I have 2 input bits on port A 3 on B and 3 on C and I want to read all 8 inputs into one variable "inputs"? |
|
 |
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
 |
edi
Joined: 22 Dec 2003 Posts: 82
|
|
Posted: Mon May 27, 2013 1:55 pm |
|
|
Thanks a lot. |
|
 |
|