Commit Graph

437 Commits (a92eac02a4f870b11e92ba5c166fa7c8ae15ec6f)

Author SHA1 Message Date
Chris 08457e503d Use the fixed embedded graphics lib once more 2018-10-18 16:20:39 +02:00
Chris 17abcc74b0 Merge branch 'add_embedded_graphics' of github.com:Caemor/eink-waveshare-rs into add_embedded_graphics 2018-10-18 16:10:10 +02:00
Chris e17697cfb1 Fix missing std-lib in a test 2018-10-18 16:09:23 +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
Chris 98a9b1c0ed Fix examples 2018-10-15 15:54:59 +02:00
Chris 29b7986848 Add from_u8 to color, finish drawing for 4in2 2018-10-15 15:52:20 +02:00
Chris 8a7309cfc8 Renamed old drawing mod to drawing_old 2018-10-15 15:51:36 +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 4916ac674a Add an reference to the linux specific max spi bytes size 2018-10-12 11:35:13 +02:00
Chris 6b89ee1b8e Set spi chunk limit on linux with cfg!
Not tested yet
2018-10-12 11:30:04 +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 f131636b01 Addition to previous commit (examples and forgotten save) 2018-10-10 17:03:18 +02:00
Chris 89489da657 Renaming of WaveshareInterface and Connectioninterface
WaveshareInterface -> WaveshareDisplay
traits::interface::ConnectionInterface -> interface::DisplayInterface
2018-10-10 17:01:03 +02:00
Chris 0363e8527f Adapted examples to previous commit 2018-10-10 16:22:41 +02:00
Chris 87832f6043 Made SPI shareable
Disown spi for better shareabilty
2018-10-10 16:06:27 +02:00
Chris 6a24acf62b Removed data_x_times function 2018-10-10 14:43:18 +02:00
Chris 99d328575f fix examples 2018-10-10 14:25:15 +02:00
Chris 9ac06ead28 Merge branch 'Cleanup-Interface' of github.com:Caemor/eink-waveshare-rs into Cleanup-Interface 2018-10-10 13:51:00 +02:00
Chris 2f4ebfecab Fix previous Delay Commit
Some stuff was forgotten in the previous commit
2018-10-10 13:45:35 +02:00
Chris fabc5f262e Make delay a function parameter
This change makes delay a function parameter where necessary and stops the need of owning the delay
2018-10-10 13:45:35 +02:00
Chris 1791388a8b Renamed folder `interface` to `traits` 2018-10-10 13:45:34 +02:00
Chris 0ddaf9679a Deletion of single u8 data Transfers and renaming of various functions
command_with_data -> cmd_with_data
command -> cmd
multiple_data -> data
2018-10-10 13:45:34 +02:00