Skip to content
This repository has been archived by the owner on Dec 6, 2018. It is now read-only.

Implemented driver for BH1750 light sensor #68

Merged
merged 1 commit into from
May 29, 2016

Conversation

vadimol
Copy link
Collaborator

@vadimol vadimol commented May 29, 2016

No description provided.

static constexpr uint16_t measurement_time_ms_high = 200;

//! Current resolution mode
static bh1750_cfg::resolution resolution;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please prefix it with m_ part, that's how class members are distinguished from other variables or names.
It very useful when using auto-complete and for redability.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@forGGe
Copy link
Collaborator

forGGe commented May 29, 2016

Couple of style nitpicks.

@vadimol vadimol force-pushed the bh1750_develop_branch branch from 18af076 to 3b16a59 Compare May 29, 2016 18:57
@vadimol
Copy link
Collaborator Author

vadimol commented May 29, 2016

addressed comments

@forGGe
Copy link
Collaborator

forGGe commented May 29, 2016

Looks good, thanks!

@forGGe forGGe merged commit 3b16a59 into theCore-embedded:develop May 29, 2016
forGGe added a commit that referenced this pull request May 29, 2016
Implemented driver for BH1750 light sensor
@vadimol vadimol deleted the bh1750_develop_branch branch May 27, 2017 10:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants