M.Rehan
Full Member level 2
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