We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26ae828 commit dfe5b1dCopy full SHA for dfe5b1d
1 file changed
src/drivers/Hrs3300.cpp
@@ -36,8 +36,8 @@ void Hrs3300::Init() {
36
// HRS and ALS both in 16-bit mode
37
WriteRegister(static_cast<uint8_t>(Registers::Res), 0x88);
38
39
- // 64x gain
40
- WriteRegister(static_cast<uint8_t>(Registers::Hgain), 0x10);
+ // 8x gain, reduced value
+ WriteRegister(static_cast<uint8_t>(Registers::Hgain), 0xc);
41
}
42
43
void Hrs3300::Enable() {
0 commit comments