Skip to content

Saturated1

Stefan Armborst edited this page Jan 2, 2020 · 4 revisions

Saturated

A constant that makes it easier to determine if the sensor is saturated.

static const unsigned int Saturated = 65535;

result unsigned int

Is 2^16-1.


Hint:

You need the raw value for a comparison. You can get it with the function getRaw().

A more convenient way is described here.

Clone this wiki locally