Udated configuration and light sensor
This commit is contained in:
parent
1dfaf781d2
commit
795893ea2e
8 changed files with 23 additions and 20 deletions
|
|
@ -76,11 +76,6 @@ void SensorBH1750::configure(uint8_t mode) {
|
|||
}
|
||||
}
|
||||
|
||||
void SensorBH1750::read(PowerData& data)
|
||||
{
|
||||
data.consumption = pulses;
|
||||
pulses = 0;
|
||||
}
|
||||
|
||||
void SensorBH1750::read(LightData& data) {
|
||||
uint16_t level;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue