Skip to content

mac-michael/mongoose-os-bh1750

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BH1750 ambient light sensor native library for Mongoose OS

Overview

BH1750 ambient light sensor native C driver for Mongoose OS

Sensor wiring

Usage

struct sensor_bh1750* bh = sensor_bh1750_create(0x23);

float lux = sensor_bh1750_get_lux(bh, ONE_TIME_HIGH_RES_MODE_2);
printf("Light: %f lux\n", lux);

sensor_bh1750_free(bh, false);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages