Skip to content
Stefan Armborst edited this page Jan 27, 2020 · 3 revisions

start

initiates a single Measurement.
If you come from other libraries, here you will not find a continuous measurement mode!
In this mode, you are not able to control the sensor in the way this library does.

 bool start();
 bool start(BH1750Quality quality, byte mtreg);

result Boolean

true, on successful communication.
This command is send physically to the sensor.
Internally, the Quality is always sent.


Parameter BH1750Quality quality

If leave empty, the last or default Quality is used.
See also setQuality().


Parameter byte mtreg

If left empty, the last or default MTreg is used.
See also setMtreg().


Hints:

You can only use all two parameters, or none Parameters!

When used in conjunction with adjustSettings(), the brackets must be empty!
Otherwise you would overwrite the internal adjusted settings.

If a measurement is already running, it is aborted and a new measurement is started.

Clone this wiki locally