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 f57ad02 commit 10ab8ebCopy full SHA for 10ab8eb
CHANGELOG.md
@@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
7
## [Unreleased]
8
9
+### Changed
10
+- Increased reset time from ~50μs to ~300μs, to deal with more/newer variants
11
+
12
## [0.4.0] - 2020-12-02
13
### Added
14
- SK812w support for the `prerendered` variant
src/lib.rs
@@ -106,7 +106,8 @@ where
106
}
107
108
fn flush(&mut self) -> Result<(), E> {
109
- for _ in 0..20 {
+ // Should be > 300μs, so for an SPI Freq. of 3.8MHz, we have to send at least 1140 low bits or 140 low bytes
110
+ for _ in 0..140 {
111
block!(self.spi.send(0))?;
112
block!(self.spi.read()).ok();
113
0 commit comments