Commit Graph

200 Commits (434f1bcd20f33d4f257724c06657aa4d53cb802c)

Author SHA1 Message Date
Liam 434f1bcd20
Merge branch 'main' into main 2021-04-14 15:15:06 +01:00
pi ba1243137d EPD 7in5 HD: Added more documentation
Updated README to include the driver.
Updated CHANGELOG.
Added note about the default background color of the HD driver
2021-04-14 14:59:23 +01:00
Caemor 15e557951f Further improvements around acronym lowercases,... 2021-04-11 21:21:39 +02:00
Caemor 9d95eeb64b cargo fmt 2021-04-11 20:38:03 +02:00
Caemor ba1b90e2f3 Removed #[allow(non_camel_case_types)] to fix issues 2021-04-11 20:31:24 +02:00
pi 73c98d86e7 Added back tests for epd7in5_hd commands 2021-03-31 11:09:58 +01:00
pi ba432ccf91 Removed unused code 2021-03-31 11:09:32 +01:00
pi c27ffd507f Added support for the 7.5 inch HD display 2021-03-31 10:39:29 +01:00
Chris a252d074de
Merge pull request #66 from BuggStream/feature/epd1in54c
Add support for epd1in54c
2021-02-20 16:58:21 +01:00
Chris 181010f366
Merge pull request #64 from caemor/Further4in2Improvements
Further 4in2 improvements
2021-02-20 16:56:26 +01:00
BuggStream b479edd108 Fix last rustfmt issue 2021-02-08 00:40:07 +01:00
BuggStream b49dd6cd1f Update documentation for 1in54c 2021-02-08 00:26:31 +01:00
BuggStream 6129723c41 Clean up and simplify code 2021-02-07 23:30:44 +01:00
BuggStream 6c8ac87c7d Ensure device is ready to receive data when updating frame 2021-02-07 01:19:30 +01:00
BuggStream d1b0ac1854 Add support for 1in54c EPD 2021-02-06 17:17:04 +01:00
Chris 87037c6f52
Merge pull request #60 from pjsier/feat/epd2in7b
Add support for epd2in7b
2021-01-28 00:07:27 +01:00
Caemor 788ddcab98 Apply #48 to QuickRefresh as well 2021-01-27 20:53:24 +01:00
Caemor bcbef1e805 "EPD4in2: Don't set the resolution (and some more) over and over again.
If the resolution ever changes, something has horribly gone wrong." From @mgottschlag #48
2021-01-27 20:29:23 +01:00
Caemor 4ccbea5607 Add Example to quick refresh trait 2021-01-27 17:34:39 +01:00
Chris 4d2b6a5685
Merge pull request #62 from David-OConnor/partial-refresh
Added QuickRefresh trait, and implemented it for 4.2 display
2021-01-27 17:08:57 +01:00
Caemor d572ef0f5d test it 2021-01-23 16:50:55 +01:00
Caemor 1a612c92d3 Fix missing Eq for OutofColorRangeParseError 2021-01-23 16:23:36 +01:00
Caemor bccfc81b13 Improve Stuff mentioned by clippy:
- use range.contains instead of >=  && <=
- Use better error type
2021-01-23 14:55:03 +01:00
David-OConnor 0695e94670 Removed example that broke CI 2021-01-21 21:29:37 +04:00
David-OConnor c30d213bc5 Added QuickRefresh trait, and implemented it for 4.2 display 2021-01-21 21:13:13 +04:00
pjsier 49cc823ccc fix epd2in7b reset delay 2021-01-18 13:20:58 -06:00
pjsier fb25c40fe2 add support for epd2in7b 2021-01-01 10:59:12 -06:00
Mitch Souders e49e144a34 Minor fixups 2020-11-19 19:22:41 -08:00
Mitch Souders e225464b62 Cargo fmt 2020-11-15 18:11:58 -08:00
Mitch Souders 231cc63009 Minor cleanup, added HiZ as color 2020-11-15 17:57:40 -08:00
Mitch Souders c7d32ca86e Added some busy checks and seem to be avoiding missing pictures 2020-11-15 05:32:17 -08:00
Mitch Souders 96d505647d Add support for ep5in65f 2020-11-15 03:25:10 -08:00
Robin Appelman 674b88e327 use correct 7in5_v2 reset delay, not the b/c variant 2020-10-19 16:53:17 +02:00
Robin Appelman 5cb7de5929 make reset timing device specific
reset timings seem to be device specific, trying to reset the 7in5_v2 with timings from other devices does not reset the display.

Timings taken from https://github.com/waveshare/e-Paper/blob/master/RaspberryPi%26JetsonNano/python/lib/waveshare_epd
2020-10-17 17:13:38 +02:00
Marc Poulhiès 27e367c89c Initial support for Waveshare 2in13 v2 e-ink screen
This initial support covers both the full (slow) update of the display and the
partial (fast) update.
2020-10-05 20:48:02 +02:00
Marc Poulhiès 82b8c98538 Better handling for screen size not divisible by 8
Screen with width not divisible by 8 require special care when allocating the
buffer and when handling rotation.

Define a function for getting the needed buffer size (round up to next byte).
Change how rotation is done by changing coordinates instead of direct pixel
access.
2020-09-27 19:13:35 +02:00
Michael Beaumont 9167c643f9
Add epd2in9bc to README, add example 2020-03-27 21:46:32 +01:00
Michael Beaumont b5e647b0d0 Rename red to chromatic, rename epd2in9b to epd2in9bc 2020-03-27 19:09:12 +01:00
Michael Beaumont 7a5472f73a
Update epd2in9b after embedded-graphics update 2020-03-27 18:50:33 +01:00
Michael Beaumont 71d539eeb7
Merge remote-tracking branch 'upstream/master' into epd2in9b 2020-03-27 18:47:13 +01:00
Caemor 409676423d Mainly improved Documenation 2020-03-26 19:55:17 +01:00
Caemor dcc264c2b0 Replace tabs with spaces 2020-03-26 17:19:55 +01:00
Michael Beaumont 20a01a25bf
Add epd2in9b support 2020-03-25 22:56:34 +01:00
Caemor ec72357b55 Update/Include new update_and_display trait 2020-03-22 00:42:20 +01:00
Caemor 8da294dd5e Update embedded-graphics,
remove useless Featuregates (Doesn't change size)

Update and integrate a few important examples and remove the others
2020-03-21 23:37:27 +01:00
Caemor dcaed6fb3e Update embedded-graphics and update epd4in2-blue-pill-exampleg 2020-03-18 14:30:40 +01:00
Christoph Grabo 4ecee29641
Apply cargo fmt 2020-01-11 13:17:47 +01:00
Christoph Grabo 35291fe639
Add V2 version of epd7in5 2020-01-11 13:17:46 +01:00
Christoph Grabo f17cae8e49
Add new optional extention trait 2020-01-11 10:21:51 +01:00
Christoph Grabo a9f27e51ae
Use embedded_hal::digital::v2 (v1 is deprecated) 2020-01-11 10:12:15 +01:00