gidimiz
Advanced Member level 1

multiplaxing
Hi,
any one knows how to multiplex ports to one verible.
i.e. I want to make a verible type int or long and then when i send data to the verible all prts will be changed.
Lets say
signed int ALLPorts = 0;
Then i will write:
ALLPorts = 0xFFFF;
This will be insted of:
PORTA = 0xFF;
PORTB = 0xFF;
Any idea?
Hi,
any one knows how to multiplex ports to one verible.
i.e. I want to make a verible type int or long and then when i send data to the verible all prts will be changed.
Lets say
signed int ALLPorts = 0;
Then i will write:
ALLPorts = 0xFFFF;
This will be insted of:
PORTA = 0xFF;
PORTB = 0xFF;
Any idea?