-
Notifications
You must be signed in to change notification settings - Fork 10
start
Stefan Armborst edited this page Jan 27, 2020
·
3 revisions
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);
true, on successful communication.
This command is send physically to the sensor.
Internally, the Quality is always sent.
If leave empty, the last or default Quality is used.
See also setQuality().
If left empty, the last or default MTreg is used.
See also setMtreg().
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.