Commit Graph
92 Commits
Author SHA1 Message Date
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
Chris e92af2198a Fix previous commit 2018-10-16 18:26:29 +02:00
Chris 533cb84123 Make lines visible 2018-10-16 18:24:14 +02:00
Chris d65cf0c578 Merge branch 'master' into add_embedded_graphics 2018-10-16 18:18:32 +02:00
Chris fe97740f04 Fix example 2018-10-16 18:13:43 +02:00
Chris 2bab732b6f use new graphics in example 2018-10-16 18:08:43 +02:00
caemor e30cb6f7e8 Make Enum DisplayRotation, impl Buffer and Drawing for 4in2 display 2018-10-14 23:18:47 +02:00
Chris b9430236e7 Merge pull request #14 from Caemor/fix-os-90-spi-message-on-linux-too-long
Set spi chunk limit on linux with cfg! to fix error
2018-10-14 13:52:27 +02:00
caemor 3196c4b387 fix embedded_graphics include 2018-10-14 12:38:56 +02:00
caemor c16e136d09 fix 2018-10-14 12:38:11 +02:00
caemor 8d08bef233 add embedded_graphics 2018-10-14 12:36:54 +02:00
Chris a079653a26 Change example 2018-10-11 10:10:24 +02:00
Chris 468425881c readd data_x_times 2018-10-11 00:33:44 +02:00
Chris 98e392fff1 changed example 2018-10-11 00:21:12 +02:00
Chris 0571ab4a34 final fix 2018-10-11 00:11:15 +02:00
Chris 81710bfc50 fix small example 2018-10-11 00:05:56 +02:00
Chris aa7497fa60 Still trying to fix an error 2018-10-10 21:30:22 +02:00
Chris 2e4ee5308a remove error in previous commit 2018-10-10 21:11:05 +02:00
Chris 4155bd616b add error messages for debugging 2018-10-10 20:58:05 +02:00
Chris 16686dee6d example change 2018-10-10 20:55:05 +02:00
Chris b7fe5674ee send full buffer instead of loop 2018-10-10 20:37:39 +02:00
Chris 526db5dace Extend error message in example 2018-10-10 20:31:14 +02:00
Chris d0ac29ed90 print error in example instead of quitting 2018-10-10 20:26:59 +02:00
Chris 2e2e70c59c Merge pull request #12 from Caemor/Cleanup-Interface
[WIP] Cleanup interface
2018-10-10 20:12:55 +02:00
Chris e489b7af30 Merge pull request #10 from Caemor/STM32F3DISCOVERY-Beispiel
Added example and tests for stm32f3discovery 

Added an example for stm32f3discovery, which also adds automatic (via travis) build tests for the stm32f3
2018-10-10 11:40:59 +02:00
Chris 632f4932ad Merge pull request #8 from Caemor/size_testcase
Adds testcases for the sizes of the displays and default backgroundcolor
2018-10-09 14:42:42 +02:00
Chris 3c3f29aa98 Merge pull request #7 from Caemor/try_rustfmt
Formating and other beautifying improvements including some rustfmt changes
2018-08-13 08:23:31 +02:00
Chris e5a1e3bf25 Merge pull request #6 from Caemor/add_1in54-epd
Add support for  1in54 epd
2018-08-07 10:26:29 +02:00
Chris 4feeecf444 Update README.md
Updated readme to represent the current status of the project better
2018-08-03 09:30:41 +02:00
Chris 7b9f742f2e add support checkmark for 2.9 epd 2018-07-24 10:05:53 +02:00
Chris f76227a861 Merge pull request #5 from Caemor/better_readme
Better readme
2018-07-23 15:14:26 +02:00
Chris 20a4b9ef84 Merge pull request #4 from Caemor/fast_update_feature_gated
Fast update feature gated
2018-07-23 14:55:08 +02:00
Chris 0a18416da7 Merge pull request #3 from Caemor/add_2in9_device
Add support for 2in9 waveshare epaper
2018-07-23 11:21:25 +02:00
Chris 1568cc2890 Merge pull request #1 from Caemor/graphics_buffer
Added mutable reference to buffer directly in graphics.
2018-05-30 15:01:30 +02:00
Chris 3fa576732c Merge branch 'master' of github.com:Caemor/eink-waveshare-rs 2018-05-28 16:57:44 +02:00
Chris f8f6b05e72 Documented broken char and string drawing 2018-05-28 00:38:35 +02:00
Chris 81966846ba reversed the wrong change of state 2018-05-28 00:32:31 +02:00
Chris e56753c677 make draw_string accept string slices instead of char slices 2018-05-28 00:20:10 +02:00
Chris 869866d997 for further testing purposes, draw_byte is still not stable 2018-05-28 00:18:38 +02:00
Chris 38a400a83f added fonts and chars, but more improvement is needed there 2018-05-27 22:03:26 +02:00
Chris a26e8f0a86 Fixed bug from previous commit 2018-05-26 20:12:46 +02:00
Chris d4abd54b56 added fast partial update to embedded_linux example 2018-05-26 20:11:19 +02:00
Chris c9578109cf Improved Drawing Documentation, improved example 2018-05-26 19:50:12 +02:00
Chris 03f2cbc942 decreased the change of a overflow happening in draw_pixel, some more calculations and improvements are needed 2018-05-26 17:38:51 +02:00
Chris 2272ef80ee improved embedded_linux example 2018-05-26 17:28:58 +02:00
Chris 89259d3c78 maybe the full buffer was to much for rpi spi transmission, testing now 2018-05-26 17:20:40 +02:00
Chris f1d49651e4 embedded_linux example: further improvements to panics 2018-05-26 17:16:23 +02:00
Chris 7d3c95bf7c fixed error in example 2018-05-26 17:13:22 +02:00
Chris d30cec2c0e further improved error messages on panic for embedded linux example 2018-05-26 17:04:48 +02:00
Chris 0099d509d8 pin change in the example 2018-05-26 16:47:11 +02:00
Chris a067e3a662 better error handling, still far from perfect for embedded linux example 2018-05-26 16:36:25 +02:00
Chris ba5d44a1d7 fixed documentation tests by ignoring them as they are just examples not build for running 2018-05-11 15:28:31 +02:00
Chris 954c5f862d fixed ci? 2018-05-11 15:11:10 +02:00
Chris 5797f20345 Create License.md 2018-05-04 13:25:57 +02:00
Chris c5ec59dae1 Initial commit 2018-05-04 12:45:49 +02:00