Commit Graph

13 Commits

Author SHA1 Message Date
82803bffda Use embassy/defmt-timestamp-uptime in all examples. 2022-04-02 04:35:06 +02:00
6de02bb23e nrf: remove OptionalPin 2022-02-12 01:07:02 +01:00
df5ba727f2 Further API simplification for the single seq scenario 2022-02-05 08:05:23 +11:00
965a5f2c3f Introduced the SingleSequencer and a more complex Sequencer 2022-02-04 19:11:15 +11:00
9e36ede363 Small correction to times 2022-02-04 16:48:26 +11:00
e9e4d058d1 Revert the use of forever 2022-02-04 16:39:14 +11:00
fe5501293f Expose PWM 2022-02-04 16:26:23 +11:00
1af6b23f97 Introduces a Sequences struct 2022-02-04 13:04:55 +11:00
1c67bd4643 Revert "Own the sequence buffer"
This reverts commit 482389a691.
2022-01-30 16:21:23 +11:00
482389a691 Own the sequence buffer
This approach owns the sequence buffers which, while introducing an extra move, it eliminates the need to guard the lifetime of the sequence buffer. Given ownership, the buffer will be retained until the PWM sequence task is stopped.
2022-01-29 18:01:06 +11:00
9ac52a768b Now permits sequences to be mutated subsequently 2022-01-28 16:32:58 +11:00
12ce024574 Make the sequence a little nicer to pass around 2022-01-28 13:38:20 +11:00
47aeab152f PWM WS2812B example and per sequence config
Demonstrates how to set the colour of a WS2812B to blue using PWM, and the use of multiple sequences along with their own config. This required an API change.
2022-01-28 11:20:04 +11:00