Inverse a value for the microcontroller