Adjust latch pulse length

pull/149/head
Alex Voinea 2021-11-24 01:26:27 +01:00 committed by DRracer
parent d399a024bb
commit f509dc8346
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ void SHR16::Write(uint16_t v) {
} }
WritePin(SHR16_CLOCK, Level::low); WritePin(SHR16_CLOCK, Level::low);
WritePin(SHR16_LATCH, Level::high); WritePin(SHR16_LATCH, Level::high);
_delay_us(10); _delay_us(25);
WritePin(SHR16_LATCH, Level::low); WritePin(SHR16_LATCH, Level::low);
shr16_v = v; shr16_v = v;