imranahmed
Advanced Member level 3
- Joined
- Dec 4, 2011
- Messages
- 817
- Helped
- 3
- Reputation
- 6
- Reaction score
- 3
- Trophy points
- 1,298
- Location
- Karachi,Pakistan
- Activity points
- 6,493
Please let me how to write below two line of code into single line of code.
PORTA = PORTA & 0xF0;
PORTA = PORTA | (num & 0x0F);
Thanks.
PORTA = PORTA & 0xF0;
PORTA = PORTA | (num & 0x0F);
Thanks.