set Inverted
Sets the inversion state of the sensor.
Parameters
inverted
whether to invert the readings, default is true as using this class implies that the sensor needs to be inverted initially for all readings to be correct
Sets the inversion state of the sensor.
whether to invert the readings, default is true as using this class implies that the sensor needs to be inverted initially for all readings to be correct