M.Rehan
Full Member level 2
- Joined
- Feb 10, 2016
- Messages
- 129
- Helped
- 2
- Reputation
- 66
- Reaction score
- 33
- Trophy points
- 28
- Activity points
- 972
Can I access single bit of a defined variable in MikroC without shifting variable right
Tool :MikroC
PIC 16F887
Example
References
https://download.mikroe.com/documents/compilers/mikroc/pic/help/arithmetic_types.htm
Tool :MikroC
PIC 16F887
Example
Code C - [expand] 1 2 3 4 unsigned int TEMP = 0x08; //0b0000000 00001000 if(TEMP.F4 ==1) TEMP=0;
References
https://download.mikroe.com/documents/compilers/mikroc/pic/help/arithmetic_types.htm