Deexith Hasan
Advanced Member level 4
- Joined
- Oct 24, 2014
- Messages
- 111
- Helped
- 4
- Reputation
- 8
- Reaction score
- 3
- Trophy points
- 18
- Activity points
- 740
is it possible to use single bit in ports of PIC mcu without this structure??
Code C++ - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 extern volatile near union{ struct{ unsigned RB0:1; unsigned RB1:1; unsigned RB2:1; unsigned RB3:1; unsigned RB4:1; unsigned RB5:1; unsigned RB6:1; unsigned RB7:1; }; }PORTBbits;
Last edited by a moderator: