Martin Kiefel
0fcb9f20df
Make Travis build examples as well
2020-03-20 10:50:49 +01:00
Martin Kiefel
bf7cb30c38
Update example after bump of dependencies
...
The recent bump of linux-embedded-hal and embedded-graphics broke the
example. This change fixes the compile time errors.
Tested on a Raspberry Pi Zero W with inky phat display.
2020-03-20 00:04:58 +01:00
Wesley Moore
f46fcbd677
Merge pull request #10 from wezm/gpio-errors
...
Replace custom error type in favour of Debug constraints
2020-03-11 09:32:52 +11:00
Wesley Moore
f27c2c6f68
Replace custom error type in favour of Debug constraints
2020-03-10 20:55:54 +11:00
Wesley Moore
9d8b68d78e
Merge pull request #9 from etrombly/hal_v2
...
update to hal v2 traits
2020-03-10 20:12:54 +11:00
Eric Trombly
f59959c55c
add custom error type to handle results
2020-02-28 11:02:59 -06:00
Eric Trombly
67c2b90b2a
change rect to rectangle in graphics.rs
2020-02-28 07:37:54 -06:00
Eric Trombly
333edf10f0
update to hal v2 traits
2020-02-26 11:39:39 -06:00
Wesley Moore
38789231ef
Merge pull request #7 from jedahan/cross-compile
...
Add armhf support for cross compilation
2019-01-22 10:12:07 +13:00
Jonathan Dahan
6219046521
Add armhf support for cross compilation
2019-01-21 13:12:28 -05:00
Wesley Moore
7c40f07a1f
Add Codecov badges
2019-01-14 11:06:14 +11:00
Wesley Moore
aa89922904
Add code coverage reporting
2019-01-14 11:03:14 +11:00
Wesley Moore
ca93d12c91
Add crates.io metadata to Cargo.toml
2018-12-26 14:27:00 +11:00
Wesley Moore
a88264920e
Fix some warnings
2018-12-26 14:17:45 +11:00
Wesley Moore
0b65948e5a
Merge branch 'ci'
2018-12-26 14:12:22 +11:00
Wesley Moore
cb548ac0b6
Add Travis badge to README
2018-12-26 14:12:08 +11:00
Wesley Moore
ccb8d78c95
Add Travis CI config
2018-12-26 14:06:48 +11:00
Wesley Moore
b7e0c3162e
Merge pull request #2 from wezm/rustdoc
...
Document most public items
2018-12-26 14:05:30 +11:00
Wesley Moore
6eb63d55a4
Document some more items and make some more public
...
The newly made public items are so that arbitrary commands can be sent.
2018-12-26 14:03:02 +11:00
Wesley Moore
51e049ae08
Expand on example in README
2018-12-26 13:28:55 +11:00
Wesley Moore
ca8175ca3e
Document most public items
2018-12-26 12:54:30 +11:00
Wesley Moore
b6d8d7aabb
Fix up graphics tests
2018-12-26 09:09:11 +11:00
Wesley Moore
a95bb3d01b
Merge pull request #1 from wezm/builder
...
Builder for constructing Display
2018-12-26 08:45:42 +11:00
Wesley Moore
b776198b87
Update example to use config builder
2018-12-26 08:43:04 +11:00
Wesley Moore
242a471d4f
Clarify comment
2018-12-26 08:29:03 +11:00
Wesley Moore
f7e8275b30
Add builder for constructing display
2018-11-28 08:10:16 +11:00
Wesley Moore
d6ab8df12c
Add photo
2018-11-24 18:12:49 +11:00
Wesley Moore
dca4c08df0
Add LICENSE info and update README
2018-11-24 18:11:33 +11:00
Wesley Moore
b9f4b5af5b
Add photo to README
2018-11-24 18:04:56 +11:00
Wesley Moore
70a57e2858
Round out Inky pHAT example
2018-11-24 17:57:10 +11:00
Wesley Moore
cf4bf8ce76
Use default source and gate voltages (fixes red)
2018-11-16 22:58:55 +11:00
Wesley Moore
bc01c19c86
Add tests for drawing rects
2018-11-16 22:34:31 +11:00
Wesley Moore
0481bd185b
Implement clearing with colours and add tests for it
2018-11-16 21:58:57 +11:00
Wesley Moore
1a05a8cf30
Create the start of a test for GraphicDisplay
2018-11-16 21:09:15 +11:00
Wesley Moore
659c192810
Fix typo in README
2018-11-14 21:58:16 +11:00
Wesley Moore
204f654e33
Partially working Inky pHAT example
2018-11-14 21:09:04 +11:00
Wesley Moore
7b1e0b15c6
Add graphics module
2018-11-14 18:02:33 +11:00
Wesley Moore
071a014ac1
Implement deep_sleep on Display
2018-11-14 15:35:10 +11:00
Wesley Moore
2b24889e83
Implement basic initialisation and data writing
2018-11-14 15:35:01 +11:00
Wesley Moore
92a277f65b
Refactor DisplayInterface into trait, implement Command::execute
2018-11-14 13:13:24 +11:00
Wesley Moore
a4f5520d5c
Add command module
2018-11-14 08:23:14 +11:00
Wesley Moore
2c17a4310e
Add interface module
2018-11-13 18:13:52 +11:00
Wesley Moore
cea8858596
Initial commit
2018-11-13 16:41:24 +11:00