We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
A constant that makes it easier to determine if the sensor is saturated.
static const unsigned int Saturated = 65535;
unsigned int
Is 2^16-1.
You need the raw value for a comparison. You can get it with the function getRaw().
A more convenient way is described here.