Adjust latch pulse length
parent
d399a024bb
commit
f509dc8346
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue