Erriez BH1750 library for Arduino  1.1.2
This is a GY-302 breakout with an I2C BH1750 digital light sensor.
Classes | Enumerations
ErriezBH1750.h File Reference

BH1750 digital light sensor library for Arduino. More...

#include <Arduino.h>
#include <Wire.h>
Include dependency graph for ErriezBH1750.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  BH1750
 BH1750 class. More...
 

Enumerations

enum  BH1750_Mode_e { ModeContinuous = 0x10, ModeOneTime = 0x20 }
 Mode register bits. More...
 
enum  BH1750_Resolution_e { ResolutionLow = 0x03, ResolutionMid = 0x00, ResolutionHigh = 0x01 }
 Resolution register bits. More...
 

Detailed Description

BH1750 digital light sensor library for Arduino.

Source: https://github.com/Erriez/ErriezBH1750 Documentation: https://erriez.github.io/ErriezBH1750

Definition in file ErriezBH1750.h.

Enumeration Type Documentation

◆ BH1750_Mode_e

Mode register bits.

Enumerator
ModeContinuous 

Continues mode.

ModeOneTime 

One-time mode.

Definition at line 40 of file ErriezBH1750.h.

◆ BH1750_Resolution_e

Resolution register bits.

Enumerator
ResolutionLow 

4 lx resolution

ResolutionMid 

1 lx resolution

ResolutionHigh 

0.5 lx resolution

Definition at line 46 of file ErriezBH1750.h.