Skip to content

Commit dfab0b5

Browse files
author
Frank Hunleth
committed
v0.4.0 release
1 parent 73a4503 commit dfab0b5

2 files changed

Lines changed: 30 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,34 @@
11
# Changelog
22

3+
## v0.4.0 - 2022-10-14
4+
5+
This is a big update that improves program playback timing to compensate for
6+
the Linux kernel's HZ configuration and implementation of LED pattern triggers.
7+
This affects all programs, but you probably won't notice it unless you're
8+
creating Morse code patterns or measuring LED output with a logic analyzer.
9+
10+
* Backwards incompatible changes
11+
* "Priority" is now called "slot". If you have custom priorities defined in
12+
your configurations, you will need to change them to `slot`. This change
13+
was made to make the use of this feature easier to explain. I.e. programs
14+
are put in slots, one program per slot per indicator, slots have an order.
15+
16+
* Changes
17+
* Added `:backend` parameters and specifically the `:hz` parameter to support
18+
better playback timing. If unset, HZ=1000 is assumed. This results in
19+
almost the same timings as earlier versions. See the README for more
20+
information.
21+
* Added `Delux.Effects.number_blink/3` for blinking out a number. This is for
22+
things like error codes - like error 1, 2, 3, etc.
23+
* Added `Delux.Effects.timing_test/2` to debug timing precision issues with a
24+
logic analyzer.
25+
* Removed unnecessary writes to the filesystem when using multiple
26+
indicators. This fixes an issue where a change on one indicator restarts a
27+
program on a second indicator.
28+
* Reorganized the backend code to support future alternative backends. This is
29+
currently unplanned work, but it's now easier to think about adding a way to
30+
run Delux using Circuits.GPIO or a simulated LED.
31+
332
## v0.3.1 - 2022-09-26
433

534
* Changes

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule Delux.MixProject do
22
use Mix.Project
33

4-
@version "0.3.1"
4+
@version "0.4.0"
55
@source_url "https://github.com/smartrent/delux"
66

77
def project do

0 commit comments

Comments
 (0)