WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 738af85

Browse files
committed
v0.11.0
1 parent 47b977f commit 738af85

File tree

7 files changed

+55
-39
lines changed

7 files changed

+55
-39
lines changed

CHANGELOG.md

Lines changed: 42 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,25 @@
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

175191
Yee 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

262278
Woo 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

277293
Thanks [@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

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

blinksy-desktop/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "blinksy-desktop"
3-
version = "0.10.0"
3+
version = "0.11.0"
44
edition = "2021"
55

66
rust-version.workspace = true
@@ -13,7 +13,7 @@ keywords = ["blinksy"]
1313
categories = ["multimedia", "rendering"]
1414

1515
[dependencies]
16-
blinksy = { path = "../blinksy", version = "0.10" }
16+
blinksy = { path = "../blinksy", version = "0.11" }
1717
egui = "0.28"
1818
egui-miniquad = "0.15.0"
1919
glam = { version = "0.30.1" }

blinksy/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "blinksy"
3-
version = "0.10.0"
3+
version = "0.11.0"
44
edition = "2021"
55
rust-version.workspace = true
66
description.workspace = true

esp/Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

esp/blinksy-esp/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "blinksy-esp"
3-
version = "0.10.0"
3+
version = "0.11.0"
44
edition = "2021"
55

66
rust-version.workspace = true
@@ -13,7 +13,7 @@ keywords = ["blinksy", "embedded", "no-std", "esp32"]
1313
categories.workspace = true
1414

1515
[dependencies]
16-
blinksy = { path = "../../blinksy", version = "0.10" }
16+
blinksy = { path = "../../blinksy", version = "0.11" }
1717
esp-hal = { version = "1.0.0-rc.1", default-features = false, features = ["unstable"] }
1818
defmt = { version = "1.0.1", optional = true }
1919
heapless = "0.9.1"

esp/gledopto/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
edition = "2021"
33
name = "gledopto"
4-
version = "0.10.0"
4+
version = "0.11.0"
55

66
rust-version.workspace = true
77
description.workspace = true
@@ -14,8 +14,8 @@ categories.workspace = true
1414

1515
[dependencies]
1616
critical-section = "1.2.0"
17-
blinksy = { path = "../../blinksy", version = "0.10" }
18-
blinksy-esp = { path = "../blinksy-esp", version = "0.10" }
17+
blinksy = { path = "../../blinksy", version = "0.11" }
18+
blinksy-esp = { path = "../blinksy-esp", version = "0.11" }
1919
button-driver = { version = "0.2.2", features = ["embedded_hal"] }
2020
defmt = { version = "1.0.1", optional = true }
2121
esp-hal = { version = "1.0.0-rc.1", features = ["unstable"] }

0 commit comments

Comments
 (0)