mdamor01
Newbie level 6
- Joined
- Sep 5, 2018
- Messages
- 11
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Location
- Bangladesh
- Activity points
- 95
Hi everyone,
Using MikroC Pro to multiplexing 7 segment the written program is
PORTB = Hex (x%10);
there PORTB means RB0 to RB7 total 8 pins are includes, but I want to use only 7 pins for 7 segments RB0 to RB6, and the pin RB7 as other O/P.
As like Rb0 to Rb6 = hex (x%10) and Rb7_bit = 0 or 1 or something else.
so how to define the line Rb0 to Rb6 = hex (x%10);
Using MikroC Pro to multiplexing 7 segment the written program is
PORTB = Hex (x%10);
there PORTB means RB0 to RB7 total 8 pins are includes, but I want to use only 7 pins for 7 segments RB0 to RB6, and the pin RB7 as other O/P.
As like Rb0 to Rb6 = hex (x%10) and Rb7_bit = 0 or 1 or something else.
so how to define the line Rb0 to Rb6 = hex (x%10);