SyntaxFix
Write A Post
Hire A Developer
Questions
int x = 0xFF; //your number - 11111111
How do I for example read a 3 bit integer value starting at the second bit
int y = x & ( 0x7 << 2 ) // 0x7 is 111 // and you shift it 2 to the left