Skip to content

add BH1750 Sensor #78

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 30, 2016
Merged

add BH1750 Sensor #78

merged 1 commit into from
Dec 30, 2016

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