We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Reverse the bits in a byte.
unsigned char ReverseBits(unsigned char b);
b The byte to reverse.
unsigned char b with bits reversed.
unsigned char a = ReverseBits(0b11110000);
a => 0b00001111
unsigned char a = ReverseBits(0b11001100);
a => 0b00110011
unsigned char a = ReverseBits(0b10110111);
a => 0b11101101
There was an error while loading. Please reload this page.
Home
Getting Started
Tutorials
FAQ
Pinouts
VI Reference
Firmware Reference
Specification Reference