File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 3
3
//! This dynamically allocates an output buffer and writes out the data in a single call.
4
4
//! Much better suited for linux or similar environments, but may not always work
5
5
//!
6
- //! Intendded for use with rppal or linux-embedded-hal
6
+ //! Intended for use with rppal or linux-embedded-hal
7
7
8
8
use embedded_hal as hal;
9
9
Original file line number Diff line number Diff line change 49
49
///
50
50
/// You may need to look at the datasheet and your own hal to verify this.
51
51
///
52
- /// You need to provide a buffer `data`, whoose length is at least 12 * the
52
+ /// You need to provide a buffer `data`, whose length is at least 12 * the
53
53
/// length of the led strip + 20 byes (or 40, if using the `mosi_idle_high` feature)
54
54
///
55
55
/// Please ensure that the mcu is pretty fast, otherwise weird timing
74
74
///
75
75
/// You may need to look at the datasheet and your own hal to verify this.
76
76
///
77
- /// You need to provide a buffer `data`, whoose length is at least 12 * the
78
- /// length of the led strip
77
+ /// You need to provide a buffer `data`, whose length is at least 16 * the
78
+ /// length of the led strip + 20 bytes (or 40, if using the `mosi_idle_high` feature)
79
+ /// because each SK6812W pixel needs 4 bytes.
79
80
///
80
81
/// Please ensure that the mcu is pretty fast, otherwise weird timing
81
82
/// issues will occur
You can’t perform that action at this time.
0 commit comments