mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 09:17:46 +01:00
use default avg mode (#1102)
This commit is contained in:
parent
f479eae714
commit
8566dd9100
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ void INA3221Component::setup() {
|
|||
config |= 0b0001000000000000;
|
||||
}
|
||||
// 0b0000xxx000000000 << 9 Averaging Mode (0 -> 1 sample, 111 -> 1024 samples)
|
||||
config |= 0b0000111000000000;
|
||||
config |= 0b0000000000000000;
|
||||
// 0b0000000xxx000000 << 6 Bus Voltage Conversion time (100 -> 1.1ms, 111 -> 8.244 ms)
|
||||
config |= 0b0000000111000000;
|
||||
// 0b0000000000xxx000 << 3 Shunt Voltage Conversion time (same as above)
|
||||
|
|
Loading…
Reference in a new issue