22
33## UNRELEASED
44
5- Migration guide (0.10 -> UNRELEASED)
5+ ## 0.11
6+
7+ A step towards more efficient LED output.
8+
9+ Now on each frame, the driver has two separate steps:
10+
11+ 1 . Encode the next frame into a buffer.
12+ 1 . Get all the colors for the next frame from the ` Pattern ` .
13+ 2 . Do any processing (e.g. convert color to linear sRGB, brightness, color corrections, etc)
14+ 3 . Format colors into words (bytes) that will be sent to the LEDs.
15+ 4 . Add any other words (bytes), depending on the LED type. (e.g. a start header, an end trailer, etc)
16+ 4 . Send the encoded frame buffer to the LEDs.
17+
18+ The purpose of separating these steps is to:
19+
20+ - Minimize the work required to send chunks of the encoded frame buffer to the LEDs, thus minimizing the timing gap in between these chunks.
21+ - Open up the possibility of pre-encoding the next frame into a buffer, while sending the current frame to the LEDs.
22+
23+ ### Migration guide (0.10 -> 0.11)
624
725- ` defmt ` is now optional across all crates, defaults to enabled in ` gledopto ` .
826- ` alloc ` is now optional in ` gledopto ` crate.
@@ -156,25 +174,23 @@ let driver = ClockedDriver::default()
156174 - If blocking and not too many LEDs, you should use ` rmt_buffer_size::<Led>(Layout::PIXEL_COUNT) ` .
157175 - If blocking and too many LEDs, you should use ` 64 ` .
158176
159- Breaking changes:
177+ ### Changes
160178
179+ - [ #96 ] ( https://github.com/ahdinosaur/blinksy/pull/96 ) : Gledopto clockless led macros default to using buffered RMT
180+ - [ #94 ] ( https://github.com/ahdinosaur/blinksy/pull/94 ) : Upgrade to
[email protected] 161181- [ #93 ] ( https://github.com/ahdinosaur/blinksy/pull/93 ) : Make more features optional
162182- [ #92 ] ( https://github.com/ahdinosaur/blinksy/pull/92 ) : Document and enforce generic constants in ControlBuilder
163183- [ #90 ] ( https://github.com/ahdinosaur/blinksy/pull/90 ) : Re-architect to pre-calculate a buffer for each frame
184+ - [ #85 ] ( https://github.com/ahdinosaur/blinksy/pull/85 ) : Pin RMT driver in RAM for examples
164185- [ #82 ] ( https://github.com/ahdinosaur/blinksy/pull/82 ) : Use pixels buffer
165186 - Write all colors from ` Pattern ` iterator to pixel buffer, then write pixel buffer to LEDs with ` Driver ` .
166187- [ #87 ] ( https://github.com/ahdinosaur/blinksy/pull/87 ) : Refactor clocked LED drivers
167188
168- Feature additions:
169-
170- - [ #85 ] ( https://github.com/ahdinosaur/blinksy/pull/85 ) : Pin RMT driver in RAM for examples
171-
172-
173189## 0.10
174190
175191Yee haw ` blinksy ` now supports async!
176192
177- Migration guide (0.9 -> 0.10)
193+ ### Migration guide (0.9 -> 0.10)
178194
179195- You can now add the ` async ` feature and use async drivers.
180196 - For ` gledopto ` , add the ` embassy ` feature and use the ` embassy_main ` entry.
@@ -188,19 +204,19 @@ Migration guide (0.9 -> 0.10)
188204 - Move ` dimension::LayoutForDim ` to ` layout::LayoutForDim `
189205 - Un-pub-ify internal functions within drivers
190206
191- Breaking changes
207+ ### Breaking changes
192208
193209- [ #54 ] ( https://github.com/ahdinosaur/blinksy/pull/54 ) : Add async drivers
194210
195- Bug fixes:
211+ ### Bug fixes
196212
197213- [ #73 ] ( https://github.com/ahdinosaur/blinksy/pull/73 ) : Fix APA102 color correction
198214- [ #74 ] ( https://github.com/ahdinosaur/blinksy/pull/74 ) : Remove extranaeous docstring
199215- [ #75 ] ( https://github.com/ahdinosaur/blinksy/pull/75 ) : Fix color temperature
200216
201217## 0.9
202218
203- Migration guide (0.8 -> 0.9)
219+ ### Migration guide (0.8 -> 0.9)
204220
205221- [ ` blinksy-desktop::driver::Desktop ` ] ( https://docs.rs/blinksy-desktop/0.8.0/blinksy_desktop/driver/struct.Desktop.html ) has a new API:
206222
@@ -220,69 +236,69 @@ fn main() {
220236}
221237```
222238
223- Breaking changes:
239+ ### Breaking changes
224240
225241- [ #72 ] ( https://github.com/ahdinosaur/blinksy/pull/72 ) : Fix desktop simulator on macOS
226242
227243## 0.8
228244
229- Migration guide (0.7 -> 0.8)
245+ ### Migration guide (0.7 -> 0.8)
230246
231247- ` rust-version ` has been increased to 1.88, to follow ` esp-hal ` .
232248- You should upgrade to ` espflash@4 ` , which will also require adding bootloader metadata via a macro.
233249 - See ` gledopto ` library and examples for ` bootloader!() ` on how to easily do this.
234250 - See [ ` esp-hal-1.0.0-rc.0 ` release] ( https://github.com/esp-rs/esp-hal/releases/tag/esp-hal-v1.0.0-rc.0 ) for "Special migration note" about this.
235251
236- Breaking changes:
252+ ### Breaking changes
237253
238254- [ #66 ] ( https://github.com/ahdinosaur/blinksy/pull/66 ) : Upgrade to esp-hal-1.0.0-rc.0
239255
240256## 0.7
241257
242- Migration guide (0.6 -> 0.7)
258+ ### Migration guide (0.6 -> 0.7)
243259
244- - No known breaking changes.
260+ No known breaking changes.
245261
246- Feature additions:
262+ ### Feature additions
247263
248264- [ #59 ] ( https://github.com/ahdinosaur/blinksy/pull/59 ) : Add example of 3D volumetric cube
249265- [ #65 ] ( https://github.com/ahdinosaur/blinksy/pull/65 ) : Add support for GL-C-017WL-D
250266- [ #63 ] ( https://github.com/ahdinosaur/blinksy/pull/63 ) : Add arc shape
251267
252- Bug fixes:
268+ ### Bug fixes
253269
254270- [ #61 ] ( https://github.com/ahdinosaur/blinksy/pull/61 ) : Fix points step of Shape::Line
255271
256- Visual improvements:
272+ ### Visual improvements
257273
258274- [ #64 ] ( https://github.com/ahdinosaur/blinksy/pull/64 ) : Change rainbow pattern so is not just over x, but over all available dimensions
259275
260276## 0.6
261277
262278Woo hoo ` blinksy ` now supports 3D!
263279
264- Migration guide (0.5 -> 0.6):
280+ ### Migration guide (0.5 -> 0.6):
265281
266- - No known breaking changes.
282+ No known breaking changes.
267283
268- Feature additions:
284+ ### Feature additions
269285
270286- [ #57 ] ( https://github.com/ahdinosaur/blinksy/pull/57 ) : Add support for 3D layouts and animations
271287- [ #58 ] ( https://github.com/ahdinosaur/blinksy/pull/58 ) : Add 3D to desktop simulator
272288
273- Minor changes:
289+ ### Minor changes
274290
275291- [ #56 ] ( https://github.com/ahdinosaur/blinksy/pull/56 ) : Refactor layout code into separate files
276292
277293Thanks [ @ahdinosaur ] ( https://github.com/ahdinosaur ) for their contributions.
278294
279295## 0.5
280296
281- Migration guide (0.4 -> 0.5):
297+ ### Migration guide (0.4 -> 0.5):
282298
283- - No known breaking changes.
299+ No known breaking changes.
284300
285- Changes:
301+ ### Changes
286302
287303- [ #50 ] ( https://github.com/ahdinosaur/blinksy/pull/50 ) : Use ` bluurryy/noise-functions ` instead of ` Razaekel/noise-rs `
288304- [ #45 ] ( https://github.com/ahdinosaur/blinksy/pull/45 ) : Add support for SK6812
0 commit comments