Symmetrical latch signal

pull/142/head
Alex Voinea 2021-11-24 01:36:27 +01:00
parent eb456fe1c0
commit 6f63752428
1 changed files with 2 additions and 1 deletions

View File

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