Commit Graph

455 Commits (2cb56b2ac16aa20258cd3888e27813b6d50ad1f9)

Author SHA1 Message Date
Chris 2cb56b2ac1
Merge pull request #93 from caemor/Needless-borrow
Update graphics.rs to fix needless borrow
2021-12-15 21:36:25 +01:00
Chris abf3bba966
Update graphics.rs
Fix needless borrow
2021-12-15 21:31:30 +01:00
Chris 2f589c5ad8
Merge pull request #91 from ole-treichel/main
Fix pins for epd2in13_v2 example (#90)
2021-12-02 23:08:45 +01:00
Ole Treichel 8e7844c2e0 Add comment on pin layout for HAT 2021-12-02 21:32:21 +01:00
Ole Treichel f56c4c4aaa Fix pins for epd2in13_v2 example 2021-12-02 20:50:09 +01:00
Caemor bf810dc1dc Update Changelog for 0.5 2021-11-28 23:20:43 +01:00
Chris b1830d16c5
Merge pull request #83 from belak/aggressive-write
Write data over SPI 1 byte at a time
2021-11-28 23:03:12 +01:00
Chris 34a0d81b75
Merge pull request #88 from crzysdrs/main
Transposed color channels
2021-08-24 22:00:01 +02:00
Mitch Souders f6f8f3d1f5 Transposed color channels 2021-08-24 11:56:42 -07:00
Chris b3f9bc810a
Merge pull request #87 from crzysdrs/main
Add Color Conversions, Allow Changing Display Background Color thanks to @crzysdrs
2021-08-24 20:46:49 +02:00
Mitch Souders 965989638a Convert to signed types before subtraction 2021-08-24 10:48:43 -07:00
Mitch Souders e89c51cb84 Switch to embedded graphics core 2021-08-24 10:37:47 -07:00
Chris e80670f66a
Merge pull request #85 from jamwaffles/e-g-core-only
Make embedded-graphics a dev dependency thanks to @jamwaffles
2021-08-24 07:40:15 +02:00
Mitch Souders 875cc0dae3 Update color options, format 2021-08-23 22:31:15 -07:00
dependabot[bot] b8ba9fea93
Update embedded-hal-mock requirement from 0.7 to 0.8 (#84)
Updates the requirements on [embedded-hal-mock](https://github.com/dbrgn/embedded-hal-mock) to permit the latest version.
- [Release notes](https://github.com/dbrgn/embedded-hal-mock/releases)
- [Changelog](https://github.com/dbrgn/embedded-hal-mock/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dbrgn/embedded-hal-mock/compare/v0.7.0...v0.8.0)

---
updated-dependencies:
- dependency-name: embedded-hal-mock
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-21 11:29:29 +02:00
Chris 493cbd9394
Fix clippy warning (#86)
* Fix clippy improvements warnings
2021-08-21 11:23:00 +02:00
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
Kaleb Elwert f3e7dad83d Address PR feedback 2021-08-13 07:55:58 +01:00
Kaleb Elwert 247a78acb7 Write data over SPI 1 byte at a time
Fixes #82
2021-08-13 01:17:15 +01:00
Chris 2f31f4bebc
Merge pull request #81 from sirhcel/quickrefresh-interface-epd4in2
Provide full QuickRefresh interface for 4.2 inch display and some doc improvements thanks to @sirhcel
2021-07-15 07:57:15 +02:00
Chris b845319771
Update src/epd4in2/mod.rs 2021-07-15 07:54:13 +02:00
Christian Meusel 1a09b81ab6 Clean up some warnings from 'cargo doc' 2021-07-14 23:19:28 +02:00
Christian Meusel 3edeac413d Provide full QuickRefresh interface for 4in2 too
This display needs no special commands for displaying the new frame. But
it will come in handy to support the full QuickRefresh trait when it
comes to supporting different quick refresh capable displays from an
application.
2021-07-14 23:06:29 +02:00
Chris 239691e8d3
Merge pull request #78 from lrbalt/update-to-eg070
Migrate to embedded-graphics 0.7.0 (thanks to @lrbalt )
2021-07-01 16:35:31 +02:00
Reinier Balt 6a10e0cb96 Migrate remaining drivers 2021-06-16 17:36:12 +02:00
Reinier Balt feac908558 fix example for epd 2.13"
* use Circle::with_center
* the large text does not fit on this screen, add newline
2021-06-16 16:48:00 +02:00
Reinier Balt 5622627c1f fix remaining PrimitiveStyleBuilder conversions 2021-06-16 14:53:12 +02:00
Reinier Balt dd9a09aff4 use PrimitiveStyle::with_stroke, not PrimitiveStyleBuilder 2021-06-16 14:17:18 +02:00
Reinier Balt 21428ff82f fix fmt after rebase 2021-06-16 13:49:59 +02:00
Reinier Balt 78ffda673e migrate minimum set of drivers to make tests pass 2021-06-16 13:49:33 +02:00
Chris 253cc101fd
Merge pull request #76 from lrbalt/tri-color
Enable drawing in three colors for epd2in13 with TriColor thanks to @lrbalt
2021-06-15 10:46:40 +02:00
Reinier Balt 35ac132530 fix fmt 2021-06-09 11:46:59 +02:00
Reinier Balt 076b3a2d07 Update example to use TriColor 2021-06-09 11:41:25 +02:00
Reinier Balt a55a9970a5 cargo fmt 2021-05-30 14:28:09 +02:00
Reinier Balt c25d9f18d3 Enable drawing in three colors for epd2in13
Move from BinaryColor to TriColor:  use one Display fo drawing
2021-05-30 14:20:02 +02:00
Chris 401858c456
Merge pull request #75 from lrbalt/epd2in13bc
add support for 2in13bc tri-color e-ink display
2021-05-25 07:57:16 +02:00
Reinier Balt f7d86d8bfe add epd2in13bc to README and add some comments to example 2021-05-24 09:58:42 +02:00
Reinier Balt a4b8f5768e run cargo fmt 2021-05-24 09:58:42 +02:00
Reinier Balt 199c5ed298 add example for epd2in13bc using chromatic color besides black and white 2021-05-24 09:58:42 +02:00
Reinier Balt c552111ae8 add support for Waveshare e-Paper 2.13 inch tri-color screen
datasheet is same as the 2.9" version, except resolution
2021-05-24 09:58:42 +02:00
Reinier Balt 9dedf76c57 bring copy into 2in13bc namespace 2021-05-24 09:58:42 +02:00
Reinier Balt e1aada3b38 use epd2in9bc as base for implementing support epd2in13bc 2021-05-24 09:58:41 +02:00
Chris 6679869bc3
Update rust.yml
Fix ci only running for main-branch stuff
2021-05-16 14:26:51 +02:00
Chris d9254a68a2
Update CHANGELOG.md 2021-04-27 21:09:40 +02:00
Chris 56219e0d4b
Merge pull request #74 from andber1/epd-2in9-v2
Fixed epd2in9 quick refresh by @andber1
2021-04-27 21:02:01 +02:00
Andreas dc93687a86 Fixed epd2in9 quick refresh 2021-04-27 17:35:15 +02:00
Chris 89ec95d8c9
Merge pull request #73 from andber1/epd-2in9-v2
Added epd2in9_v2 support by @andber1
2021-04-21 09:03:34 +02:00
Andreas ae25129ada Merge branch 'fix-70' 2021-04-19 18:00:41 +02:00
Andreas 1cd1c3921d fixed documentation and formatting 2021-04-19 17:58:32 +02:00
Andreas 64e1b6ded0 Added epd2in9_v2 support 2021-04-19 17:58:32 +02:00