Commit Graph

184 Commits (d37ffd5489580e67278886a9030190d432438e42)

Author SHA1 Message Date
Chris 6efa864014 Renamed folder `interface` to `traits` 2018-10-10 11:37:36 +02:00
Chris e14c3a5f76 Fix travis build for stm32f3 2018-10-10 09:31:04 +02:00
Chris 7612aad99a 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 09:20:34 +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
Christoph Groß 5b80530ba2 Finished stm32f3disovery example.
This example still needs to be tested on the board
2018-10-09 14:41:26 +02:00
Christoph Groß 80090d8df2 Added testcases for default size and color of the various displays 2018-10-09 09:56:51 +02:00
Christoph Groß 806d9a1e2d Added stm32f3 example,
This is example is missing good usage of the crate,
but before that eh_personality needs to be fixed
2018-09-21 16:38:10 +02:00
Christoph Groß e82df01f34 Updated Travis
- Added 2nd example
- use cargo check instead of cargo build for first fast check
2018-09-19 16:28:41 +02:00
Christoph Groß e4e4cd57d2 Fixed example epd4in2 with missing rename 2018-09-19 16:26:40 +02:00
Christoph Groß 9fc4c0c1c7 Fixed missing renaming of .width() and height() methods 2018-09-19 16:23:41 +02:00
Christoph Groß aa412ba220 Updated Example-Readme 2018-09-19 16:21:01 +02:00
Christoph Groß fa6bce5ee7 Cleanup of WaveshareInterface
-Removed update_and_display_frame
-removed update_and_display_partial_frame

-Renamed get_width and get_height to just width and height
2018-09-19 16:19:57 +02:00
Christoph Groß b0699b088d Finished the 2nd example which doesn't use the included graphics module 2018-09-19 11:55:48 +02:00
Christoph Groß 493a7bd0c0 Clarified Documentation for clear_frame and sleep 2018-09-19 11:55:19 +02:00
Christoph Groß 6c5220fb07 Added a seperate Readme to the examples and linked it from the main readme 2018-09-19 11:54:18 +02:00
Christoph Groß 9c08d8559e Forgotten parts of the previous commit for adding a graphics feature and using it 2018-09-19 11:48:05 +02:00
Christoph Groß 2cc4bceac3 Featuregate the graphics modules
This commit makes it possible to compile without the included graphics features
2018-09-19 11:46:51 +02:00
Christoph Groß e0cf10bf4e Moved Colors into its own module 2018-09-19 11:44:17 +02:00
Christoph Groß a40cda8756 Improved Documentation of 2nd example 2018-09-18 15:56:38 +02:00
Christoph Groß 4c704a3af5 Started a new example for 1.54 in 2018-09-17 16:34:49 +02:00
Christoph Groß 06517e053e Added travis badge and improved package description for crates.io 2018-08-29 08:24:08 +02:00
Christoph Groß f49fd8604d updated version to fix wrong documentation link 2018-08-28 12:03:48 +02:00
Christoph Groß 96770946ec fixed wrong documentation link 2018-08-28 12:02:44 +02:00
Christoph Groß b367beb0a0 Added description, documentation, categories, keywords and license to package description 2018-08-28 11:59:48 +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
Christoph Groß 7893862eb6 Updated the example for the current status 2018-08-08 15:35:25 +02:00
Christoph Groß cd593c51cb Make the code more readable with a few already introduced adapter functions (e.g. command_with_data) 2018-08-08 15:35:08 +02:00
Christoph Groß 7fa1a27f40 Shortened TypeDefinitions,
made init a private function,
added a crate internal extended waveshareinterface,
added a combined  Connection_interface::data_and_command function,
added a wake_up function,
added a updated_and_display_partial_frame_function
2018-08-08 15:10:51 +02:00
Christoph Groß 99d1d66a3c add copy and clone traits to color 2018-08-08 15:05:15 +02:00
Christoph Groß 956a04d0f1 Make Connectioninterface private 2018-08-08 15:04:53 +02:00
Christoph Groß e253b33704 renamed terminate command to NOP 2018-08-08 15:03:51 +02:00
Christoph Groß cd98033204 first steps to rustfmt althought it sometimes doesn#t exactly looks good 2018-08-07 16:00:13 +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
Christoph Groß 23be76a848 Renamed example to embedded_linux_epd4in2 instead of embedded_linux to make the display which is used in this example more explicit 2018-08-07 10:04:23 +02:00
Christoph Groß 7758e37e1a - Made Connectioninterface public in root module,
- fixed the example (which needed updated dependencies)
2018-08-07 09:19:50 +02:00
Christoph Groß 49bad9c547 fixed the wrong reference to the epd2in9 display instead of the 1in54 2018-08-07 09:17:45 +02:00
Christoph Groß 835e25d133 Used cargo clippy to fix a few bad coding styles 2018-08-06 15:23:21 +02:00
Christoph Groß 4870b72336 reduced visibility of commands as they normally should only be needed interally 2018-08-06 15:10:51 +02:00
Christoph Groß 864626f8fd removed all now uneccessary stuff from type_a as it's back to the direct display module (epd1in54 and epd2in9) 2018-08-06 14:55:02 +02:00
Christoph Groß 5c8972ec46 small epd removel update 2018-08-06 14:54:20 +02:00
Christoph Groß 121a61b72d removed the unused epd stuff 2018-08-06 14:52:42 +02:00
Christoph Groß a08b285cf7 removed display trait 2018-08-06 14:52:23 +02:00
Christoph Groß e439153862 Epds isn't really needed 2018-08-06 14:51:50 +02:00
Christoph Groß 6ca5d58919 still a feature gate update 2018-08-06 14:51:31 +02:00
Christoph Groß bd4efa4f6b added feature gates for the different displays 2018-08-06 14:51:18 +02:00
Christoph Groß 94c30dd1eb updated travis to test all features 2018-08-06 14:50:26 +02:00
Christoph Groß 5dbf873631 Moved type_a LUTs to type_a mod.rs ,
updated dependencies accordingly
2018-08-06 13:54:23 +02:00
Christoph Groß 6422142133 Not all Type A screens are completly the same to the change to bring it all together was reverted. 2018-08-06 13:34:33 +02:00
Christoph Groß 230fb947cb Added a general display description struct (epds::epd) 2018-08-06 10:03:35 +02:00
Christoph Groß 38f446304b removed duplicate spi_mode and improved naming of spi_error type 2018-08-06 09:45:43 +02:00