Commit Graph
100 Commits
Author SHA1 Message Date
Caemor 2a3cd1ae01 Update lib to embedded_hal 1.0a2 2020-10-26 21:09:49 +01:00
Caemor 82f0fe2d15 Fix CI 2020-10-20 12:41:28 +02:00
Chris 43aba4ddb1 Merge pull request #55 from icewind1991/reset-timing
Make reset timing device specific
2020-10-19 19:46:49 +02:00
Chris ac97aac745 Create dependabot.yml 2020-10-07 11:41:32 +02:00
Chris d8a41c7afb Merge pull request #53 from dkm/patch-1
Add 2in13 to the list of supported screens
2020-10-05 23:04:57 +02:00
Chris 221a801340 Merge pull request #51 from dkm/master
Support for Waveshare 2in13 v2 e-ink screen
2020-10-05 21:01:55 +02:00
Chris 7b8834700e Merge pull request #52 from dkm/pr/strange_screen_size
Better handling for screen size not divisible by 8
Added buffer_len function
2020-10-05 18:59:23 +02:00
Chris 22f16eaa05 Merge pull request #44 from caemor/v0.4
Release v.0.4.0
2020-04-06 15:59:05 +02:00
caemor f9f2a9ad87 v.0.4 2020-04-06 15:51:54 +02:00
Chris 79c2524c1d Merge pull request #41 from michaelbeaumont/epd2in9b
Add epd2in9bc support
2020-03-27 22:31:54 +01:00
Chris c62ee89960 Update Readme for examples 2020-03-27 10:13:22 +01:00
Chris 8776211536 Update Readme example 2020-03-27 10:12:12 +01:00
Chris 1a670ef8c6 Update README.md 2020-03-27 10:11:06 +01:00
Caemor 5ba408d5a7 Fixed Readme Example 2020-03-26 20:49:15 +01:00
Chris 3871c1672e Merge pull request #40 from caemor/nidus
Improvements for 0.4
2020-03-26 20:46:15 +01:00
Caemor 85ad681229 Refine Changelog 2020-03-26 20:43:04 +01:00
Caemor 2fcf788673 don't reinstall tarpaulin every time 2020-03-26 20:33:51 +01:00
Caemor 08c46952f7 Further shorten work of travis 2020-03-26 20:07:55 +01:00
Caemor 5c5c04d1fb Speed Up Travis, since most of the stuff switched to github ci 2020-03-26 20:01:05 +01:00
Caemor 0ab1e7db35 Fix changelog 2020-03-26 19:55:53 +01:00
Caemor 409676423d Mainly improved Documenation 2020-03-26 19:55:17 +01:00
Caemor 1dfea538b7 Update changelog and ci 2020-03-26 17:33:54 +01:00
Caemor dcc264c2b0 Replace tabs with spaces 2020-03-26 17:19:55 +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
Chris 8829f9a315 Merge pull request #36 from asaaki/epd7in5_v2
Add epd7in5_v2 support
2020-02-14 16:09:08 +01:00
Chris 636b31437a Merge pull request #35 from jkristell/rfc-1in54b-support
Add support for the epd1in54b display
2019-12-28 11:17:21 +01:00
Chris 6520bbffd7 Merge pull request #33 from str4d/epd7in5
EPD7in5 support
2019-11-21 12:53:06 +01:00
Chris 9390f9aa49 Merge pull request #32 from caemor/CI-Tests
- make clippy failable in CI
- test code coverage
2019-09-02 15:21:25 +02:00
Chris d452c9744c Merge pull request #31 from dbr/master
* Update for embedded-graphics 0.5.2

* draw_helper takes IntoIterator
* embedded-graphics 0.5.0 removed the with_ prefix from some methods

with_stroke() to stroke()
with_fill() to fill()
with_style() to style()

* Update examples to embedded-graphics="0.5.2" also
2019-08-21 14:34:27 +02:00
Chris 7b4a7f0578 v0.3.2 - some timing fixes (#29)
* Fixed some missing wait_until_idle calls
* prepared release of 0.3.2
* cargo fmt

This is known to fail on travis because it uses the deprecated old digital v1 embedded hal pins
2019-06-17 10:33:20 +02:00
Chris 20fc874766 Finalize changelog for v.0.3.1 before release 2019-04-06 09:12:57 +02:00
Chris 60f48a8273 Add Bluepill example & some other minor improvements (#28)
- added bluepill example
- improved ci config
- travis: run fmt only once
- travis: fixed target issues
2019-04-06 09:09:56 +02:00
Chris 34c03c5486 Fixed forgotten fmt 2019-04-06 08:56:48 +02:00
Chris e8744dcb34 Release 0.3.1 2019-04-06 08:53:12 +02:00
Chris 63321f7e2c Fix: Timing Issues after display_frame
epd1in54 and epd2in9 were both missing a necessary wait_until_idle call at the end of their display_frame function which sometimes caused invalid/ignored commands/inputs afterwards.
2019-04-06 08:52:42 +02:00
Chris 9b6c7ada16 release 0.3.0 2019-04-04 23:37:38 +02:00
Chris 47af2fc664 Make a few small updates to support TeXitoi rusty clock (#27)
- add a feature gated alternative full lut for type_a displays
- remove pub from set_lut_helper function
- fix behaviour of set_lut for epd2in9. it always sets the LUT now!
-  better comments
2019-04-04 23:23:48 +02:00
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 91b723d30e Merge pull request #23 from caemor/test-codecov
test codecov
2019-01-15 13:40:05 +01:00
Chris 72345b2bb9 Merge pull request #22 from therealprof/patch-1
Fix repository name on crates.io
2018-11-21 10:42:23 +01:00
Chris 101c8b897b Merge pull request #21 from caemor/v0.2-cleanup
Cleanup for v0.2
2018-11-06 18:24:57 +01:00
Chris 68cd8006dc Fix wrongly named dep in examples 2018-11-06 17:40:34 +01:00
Chris 63d1de0417 Merge pull request #20 from Caemor/update-linux-embedded-hal
Update to linux-embedded-hal v0.2.1 and remove hackinputpin
2018-10-30 11:25:46 +01:00
Chris 3090637546 Remove stm32f3 until InputPin is supported 2018-10-26 13:44:18 +02:00
Chris ad76027709 Merge pull request #16 from Caemor/add_embedded_graphics
Add embedded graphics supports
2018-10-24 16:37:37 +02:00
Chris 5b2996d73a Fixed broken link 2018-10-24 14:09:39 +02:00
Chris 91d7a7862a improved docs for 2in9 2018-10-24 14:07:35 +02:00
Chris f06b672899 add a empty screen first 2018-10-24 08:11:10 +02:00
Chris c98c058c5a Add 2in9 example 2018-10-23 23:15:23 +02:00
Chris 0204e72cb5 Some last doc changes 2018-10-23 22:14:11 +02:00
Chris bfafb8b058 make the quick example faster 2018-10-23 16:47:00 +02:00
Chris ea1843f506 Add a quick lut example 2018-10-23 16:42:14 +02:00
Chris 3fc25d71e5 Improved Documentation 2018-10-23 16:41:59 +02:00
Chris 520317f351 Fixed examples and more small improvements 2018-10-19 17:00:15 +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 1baf35c1a4 Forgotten files in previous commit 2018-10-19 14:37:41 +02:00
Chris 139096297b Generalise graphics once more
Change u16 positions to u32 to adapt to embedded graphics unsigned coordinates

Furthermore added epd4in2 defaults graphics buffer
2018-10-19 14:36:43 +02:00
Chris 9289d689b7 Fix epd1in54 example, test if old bugs are fixed 2018-10-19 11:27:16 +02:00
Chris 8922707bac Renamed drawing to graphics and extracted display-specific stuff into the display folders 2018-10-19 10:59:26 +02:00
Chris b7275198e1 remove another dublicate test case 2018-10-19 10:14:36 +02:00
Chris a522375695 Clean up and removal of a few fixed todos 2018-10-19 09:58:52 +02:00
Chris bbdecdb6f7 Update documenatation 2018-10-19 09:47:36 +02:00
Chris 0b77b069a4 improve moving hello world in example 2018-10-19 09:19:36 +02:00
Chris b3c41b0e7f improve example 2018-10-19 09:17:37 +02:00
Chris 0fc3b5da18 seperate drawing impl in multiple functions for better test coverage 2018-10-19 08:46:15 +02:00
Chris e21dbfb7e3 Removed duplicate test (from color) 2018-10-19 08:21:59 +02:00
Chris 5fbf91216c embedded graphics should be fixed now 2018-10-19 07:59:53 +02:00
Chris c145300c5d try crates.io version once more 2018-10-18 23:51:37 +02:00
Chris a29e6530b4 check upstream/master 2018-10-18 23:49:41 +02:00
Chris 529b58cd74 test if there was really a change or if the upload to crates.io was broken 2018-10-18 23:47:12 +02:00
Chris e1b76c73a3 test branch of embedded-graphics 2018-10-18 23:15:14 +02:00
Chris a75a9b74bd add anotherline to example 2018-10-18 22:59:53 +02:00
Chris 591d25f74a reverse color change 2018-10-18 22:58:34 +02:00
Chris 9d6a009f49 forgot semicolon 2018-10-18 22:55:42 +02:00
Chris 33ebb1e4f7 reduce loop 2018-10-18 22:54:57 +02:00
Chris b5dcbb0454 fix example 2018-10-18 22:53:41 +02:00
Chris dadc302945 test inverse color matching once more 2018-10-18 22:52:54 +02:00
Chris 1acdd8d107 add a line through the big font 2018-10-18 22:44:03 +02:00
Chris b9a833ec5f Revert "inverse the colors"
This reverts commit 7dd826795a.
2018-10-18 22:30:49 +02:00
Chris 7dd826795a inverse the colors 2018-10-18 22:27:13 +02:00
Chris 967c67f9a6 position font elsewhere 2018-10-18 22:21:44 +02:00
Chris 73115fd0f3 tes 2018-10-18 22:19:36 +02:00
Chris 4ff373f512 add different style to rotate90 in example 2018-10-18 22:06:47 +02:00
Chris a68ddb673a add some lines to the rotations 2018-10-18 21:54:52 +02:00
Chris 8db42f7ec7 find error 2018-10-18 21:39:33 +02:00
Chris 90ff523411 simplify example 2018-10-18 21:17:56 +02:00
Chris d37ffd5489 test patch 2018-10-16 23:55:27 +02:00
Chris cc2d09f4aa try fixed embedded_graphics version 2018-10-16 23:49:21 +02:00
Chris dd70d02eb7 use style instead of with_stroke 2018-10-16 23:36:17 +02:00
Chris 4ca0321573 added rotation examples 2018-10-16 23:28:51 +02:00
Chris 2fb19b2df9 added many tests to drawing 2018-10-16 23:28:39 +02:00
Chris d2a47eb05c Rename Buffer Trait to Display and add a Rotation Function to it 2018-10-16 22:11:25 +02:00
Chris 8904066de6 Moved constants of type_a to its own file 2018-10-16 21:43:27 +02:00
Chris ff21d6e611 add impl Drawing<Color> for DisplayEink42BlackWhite
fix error by using option for style
2018-10-16 18:33:06 +02:00