Skip to content

Saturated1

Starmbi edited this page Jan 12, 2020 · 4 revisions

BH1750_SATURATED

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

static const unsigned int BH1750_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