prafiee
Newbie level 5
How can I inverse a variable in C language for using in AVR Microcontroller? In other words, consider I have a variable as: a = 0b01011010, I want to inverse this variable and in save it as: b = 0b01011010; that is, msb of variable a now rolles as lsb of variable b and vice versa.
I would be appreciated of your attention.
I would be appreciated of your attention.