Udated configuration and light sensor

This commit is contained in:
Ziver Koc 2016-07-08 22:14:23 +02:00
parent 1dfaf781d2
commit 795893ea2e
8 changed files with 23 additions and 20 deletions

View file

@ -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;