mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-11-30 00:16:46 -05:00
sht4x support,, typo fix (#2843)
This commit is contained in:
parent
b739dd883c
commit
3b57672dda
5 changed files with 126 additions and 2 deletions
|
|
@ -32,7 +32,7 @@ namespace i2cdev {
|
|||
bool I2cDev_BH1750::init(uint8_t addr_) {
|
||||
if (addr_ != I2CDEV_BH1750_ADDR_1) return false;
|
||||
addr = addr_;
|
||||
model = I2CDECMDL_BH1750;
|
||||
model = I2CDEVMDL_BH1750;
|
||||
query_interval = 3;
|
||||
|
||||
// power up
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue