Skip to content

Conversation

Tanson
Copy link
Contributor

@Tanson Tanson commented Dec 23, 2016

Add new class for the BH1750Fdigital light sensor
sample:

var driver=new I2cDriver(ConnectorPin.P1Pin03.ToProcessor(), ConnectorPin.P1Pin05.ToProcessor()); var i2cConnection=driver.Connect(0x23); BH1750Connection light = new BH1750Connection(i2cConnection); light.Reset(); light.SetOn(); var data=light.GetData();

@ebezine ebezine merged commit 26dd4a6 into raspberry-sharp:master Dec 30, 2016
@ebezine
Copy link
Collaborator

ebezine commented Dec 30, 2016

Thanks for your contribution !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants