Skip to content

Commit f0a503a

Browse files
committed
Bump version for 0.2.0
1 parent 3295dc1 commit f0a503a

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## v0.2.0
2+
3+
This release introduces several features. There is now a struct for the Device that holds the relevant information for starting the SPI link. start_link should now be called with the struct. start_link will alias the process with the atom given in the name key of the struct, so it's possible to start more than one chip process at one time now.
4+
5+
When calling any of the public functions on the RFM69 module, the first parameter is the Device struct that was used to call start_link. This allows the RFM69 module to use the name key of the struct to communicate with the process, and also allows upstream libraries to more easily define a protocol for the chip functions using the structs.
6+
7+
Additionally, a new chip_present? function has been added that will attempt to detect whether the chip is responding using the given struct's pin and device configuration.
8+
9+
In some ways the library has gotten more complex because of these changes, but it solves several longstanding problems with supporting different kinds of serial devices and chips, and this should pave the way to making some simplifications in the design for developers using this package as the simplifications become clearer.
10+
111
## v0.1.2
212

313
Updates `elixir_ale` dependency back to fhunleth's hex package with fix for unsetting GPIO interrupts

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ defmodule Rfm69.Mixfile do
44
def project do
55
[
66
app: :rfm69,
7-
version: "0.1.2",
7+
version: "0.2.0",
88
elixir: "~> 1.5",
99
start_permanent: Mix.env == :prod,
1010
deps: deps(),

0 commit comments

Comments
 (0)