Commit graph

177 commits

Author SHA1 Message Date
James Harton
cac08bc5f0 Allow set_bit/3 to take boolean values. 2020-01-12 19:29:31 +13:00
James Harton
0dbb6a75fd Make twiddles handle binaries too. 2020-01-12 19:08:05 +13:00
James Harton
a40af03ff5 Move release/1 from Conn to it's own protocol. 2020-01-12 16:55:54 +13:00
James Harton
b5181189ef Make test more reliable. 2020-01-08 15:16:21 +13:00
James Harton
1feed0faf9 Don't use runtime checks to emit test env warning. 2020-01-08 15:16:14 +13:00
James Harton
d3e7bb7708 Build artifacts when releases are tagged. 2020-01-08 12:31:59 +13:00
James Harton
c5f280315c Fix test failures. 2020-01-08 12:20:39 +13:00
James Harton
a1b5513c11 Improve the documentation of the defregister macro. 2020-01-08 11:31:15 +13:00
James Harton
4b27f5441f Code gardening.
* Rename and extract a bunch of modules into their own files to make it easier to navigate the repository.
* Remove fake versions of `ElixirALE` and `Circuits` from `test/support`.
* Create wrapper modules for `ElixirALE` and `Circuits` modules using `defdelegate` instead.
* Use Elixir 1.10's new `@compile {:no_warn_undefined ...}` directive to inhibit compiler warnings for our optional dependencies.
2020-01-08 10:18:38 +13:00
James Harton
8f4bca1e58 Add Wafer.Driver.Fake to help people test. 2020-01-07 14:10:15 +13:00
James Harton
006a2acb7d Add link to generated docs. 2020-01-07 10:21:19 +13:00
James Harton
37941c6671 Allow docs to be built in test. 2020-01-07 10:03:28 +13:00
James Harton
f7e9c4be70 Don't build docs in MIX_ENV test 2020-01-07 09:58:58 +13:00
James Harton
04f6036553 Add gitlab pages task with docs. 2020-01-07 09:53:58 +13:00
James Harton
8f63a7c639 Change license description in mix.exs. 2020-01-06 15:22:58 +13:00
James Harton
0ce5cf63c9 Add LICENSE 2020-01-06 02:20:06 +00:00
James Harton
dd385c46af Add simple DeviceID prtocol. 2020-01-06 14:20:08 +13:00
James Harton
01ac70e7fa Extract common behaviour for interrupt registry. 2020-01-06 13:48:16 +13:00
James Harton
4c0b5993fc Fix credo failures. 2020-01-06 10:04:15 +13:00
James Harton
2496f18cf7 Ensure correct error behaviour when required keywords are missing. 2020-01-06 09:54:52 +13:00
James Harton
657dc228a0 Add Twiddles bitwise helpers for those writing drivers. 2020-01-06 09:54:32 +13:00
James Harton
f7bd1df742 Add more tests for derived types. 2020-01-01 20:25:50 +13:00
James Harton
13f79bf72e Make all our protocol derivable. 2019-12-31 18:54:46 +13:00
James Harton
ba68653925 Tested and working on a Raspberry Pi 4B with a Pi Sense Hat connected. 2019-12-30 20:37:34 +13:00
James Harton
33e332ea22 I believe that everything I wanted now works. Yowza! 2019-12-30 13:12:42 +13:00
James Harton
fb247dbead First pass. 2019-12-29 17:12:36 +13:00
James Harton
9d28a79b45 Empty mix application. 2019-12-20 10:24:51 +13:00