I need 8 input lines to input a byte, but I need split the byte, for input in two different ports:
Something like this:
bit3, bit2, bit1 and bit0 --> inputs in Portb.3, Portb.2, Portb.1 and Portb.0
and
bit7, bit6, bit5 and bit4 --> inputs in Portd.7, Portd.6, Portd.5 and Portd.4
Its possible to do something like that?
Thanks
Last edit: EA7-JFV 2024-09-03
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
It's possible split a input byte?
I need 8 input lines to input a byte, but I need split the byte, for input in two different ports:
Something like this:
bit3, bit2, bit1 and bit0 --> inputs in Portb.3, Portb.2, Portb.1 and Portb.0
and
bit7, bit6, bit5 and bit4 --> inputs in Portd.7, Portd.6, Portd.5 and Portd.4
Its possible to do something like that?
Thanks
Last edit: EA7-JFV 2024-09-03
Hello,
Do exactly what you describing.
Oh Great!
Mmmm... it's so simple... and bright!
Thanks, so very much, Anobium
The libraries use this as the method for LCD and GLCDs.
Good luck.
Ok
Thanks again