Commit Graph

17 Commits (f49b6e98f52f4bd5dbde35bea7c18379f8bb4416)

Author SHA1 Message Date
James Waples a92eac02a4 Make embedded-graphics a dev dependency
e-g-core should be the only e-g dependency required for the driver
itself, so this PR changes a few of the imports to reflect that.
2021-08-20 18:10:59 +01:00
Reinier Balt 6a10e0cb96 Migrate remaining drivers 2021-06-16 17:36:12 +02:00
Reinier Balt dd9a09aff4 use PrimitiveStyle::with_stroke, not PrimitiveStyleBuilder 2021-06-16 14:17:18 +02:00
Reinier Balt 78ffda673e migrate minimum set of drivers to make tests pass 2021-06-16 13:49:33 +02:00
Caemor dcaed6fb3e Update embedded-graphics and update epd4in2-blue-pill-exampleg 2020-03-18 14:30:40 +01:00
dbr 3e56353cb6 embedded-graphics 0.5.0 removed the with_ prefix from some methods
with_stroke() to stroke()
with_fill() to fill()
with_style() to style()
2019-08-17 09:31:58 +09:30
dbr 99b4cff362 draw_helper takes IntoIterator
Update other display types
2019-08-16 23:59:58 +09:30
Chris 5c0744ff01
Various improvements (#25)
- Added is_busy to Waveshare_Interface
- Added IS_BUSY_LOW const for all supported epds
- Added is_busy to DisplayInterface
- moved width, height and default_background_color directly to epd4in2 module
- Added VarDisplay (a variable buffersize display/graphic driver)
- Removed all Buffers (Buffer1in54,...) and instead made specialised Displays (Display1in54,...) with included Buffers
- Updated and added more examples
- Cargo fmt/clippy
- Improved Docs/Readmes
2019-03-06 11:48:05 +01:00
Chris d7f3cdca97
Edition 2018 (#24)
* "cargo fix --edition" for the library

* Switch to 2018 edition

* Use cargo fix edition-idioms and remove the internal renaming from embedded_hal to hal

* Updated Readme

* run cargo fmt
2019-02-22 11:23:28 +01:00
Chris e518265273 Run cargo fmt (reverted for constants and some graphic calculations) 2018-11-05 15:31:52 +01:00
Chris 3fc25d71e5 Improved Documentation 2018-10-23 16:41:59 +02:00
Chris 697a781ff2 Remove more or less duplicate test cases for 2in9 buffer 2018-10-22 15:43:50 +02:00
Chris 3b0b5962ec Streamline a few things 2018-10-19 16:26:31 +02:00
Chris a1adeb77a4 more changes to the displaydimension trait 2018-10-19 16:16:43 +02:00
Chris a832ab9fed add more changes 2018-10-19 16:12:22 +02:00
Chris f6a894c5a3 use generalised graphics with new specialised buffers 2018-10-19 15:55:18 +02:00
Chris 9289d689b7 Fix epd1in54 example, test if old bugs are fixed 2018-10-19 11:27:16 +02:00