Mehmood Ahmed
New Member
Hi All,
I want to pack I/O bits from different ports into one 8bit variable making it easy for putting data on those pins simultaneously is there possibility. The compiler I am using is hitech C. I want to pack( RB2...RB7 , RC2 , RC3) into one 8bit register or variable so that I can use it as an 8bit data port.
Regards
I want to pack I/O bits from different ports into one 8bit variable making it easy for putting data on those pins simultaneously is there possibility. The compiler I am using is hitech C. I want to pack( RB2...RB7 , RC2 , RC3) into one 8bit register or variable so that I can use it as an 8bit data port.
Regards
Last edited: