Commit graph

28 commits

Author SHA1 Message Date
Ferris Tseng
0a82558d26 make GraphicDisplay buffer generic 2022-03-02 16:31:24 -05:00
Ferris Tseng
74735f77e8 migrate code from embedded-graphics 0.6 to 0.7 2022-02-06 14:11:43 -05:00
Constantine Verutin
599839c084 Update embedded_graphics and profont dependencies to latest versions. 2020-07-19 01:42:24 +01:00
Wesley Moore
f74fc3dbd6
Fix bug in u16_as_u8 function 2020-06-22 09:40:02 +10:00
Wesley Moore
f27c2c6f68
Replace custom error type in favour of Debug constraints 2020-03-10 20:55: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
a88264920e
Fix some warnings 2018-12-26 14:17:45 +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
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
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
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
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