Commit Graph
27 Commits
Author SHA1 Message Date
Christoph Groß 80090d8df2 Added testcases for default size and color of the various displays 2018-10-09 09:56:51 +02:00
Christoph Groß 9fc4c0c1c7 Fixed missing renaming of .width() and height() methods 2018-09-19 16:23:41 +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ß e0cf10bf4e Moved Colors into its own module 2018-09-19 11:44:17 +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ß cd98033204 first steps to rustfmt althought it sometimes doesn#t exactly looks good 2018-08-07 16:00:13 +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ß 121a61b72d removed the unused epd stuff 2018-08-06 14:52:42 +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ß 38f446304b removed duplicate spi_mode and improved naming of spi_error type 2018-08-06 09:45:43 +02:00
Christoph Groß c4ba7ffb21 Added a new Display Trait, but that is still in work and renamed a few other traitnames to make them more clear 2018-08-03 14:23:09 +02:00
Christoph Groß 51ef655819 rebase 2018-07-23 14:44:28 +02:00
Christoph Groß 9f5d748e07 Forgot to remove a samll test comment line within the last commit 2018-07-23 10:42:23 +02:00
Christoph Groß 2c7807265c -fixed a doc test error in the interface file even though it's unknown why that was even recognized as a doc test
- fixed a few documentation links and warnings
2018-07-23 10:41:28 +02:00
Christoph Groß 1f2c68d16d Finished 2in9 support, now it needs to be tested 2018-07-20 13:25:30 +02:00
Christoph Groß 5e03c3c39a Stablised traits and interfaces, converted epd4in2 to it, and started real work on epd2in9 2018-07-19 16:46:15 +02:00
Christoph Groß 66f70b3244 Hide the Fast Update which possible might lead to Ghosting/Burn-in effects behind a feature gate 2018-07-16 12:37:39 +02:00
Christoph Groß 4090fb4ead Made draw_char and draw_string ready for tests
Extracted color to a seperate file
2018-05-29 14:06:36 +02:00
Christoph Groß 7312b92e87 Improved and updated Readme
Added draw_char_helper for font support. Is not used and tested yet.

Changed name of color::get_full_byte to color::get_byte_value
2018-05-29 12:01:35 +02:00
Christoph Groß 156eb43eda Added simple test case for command addresses, so no regression should happen. 2018-05-28 14:48:45 +02:00
Christoph Groß b022ec1dbb Use Drawing::Color instead of hardcoded values 2018-05-28 14:46:19 +02:00
Chris d4abd54b56 added fast partial update to embedded_linux example 2018-05-26 20:11:19 +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 ba5d44a1d7 fixed documentation tests by ignoring them as they are just examples not build for running 2018-05-11 15:28:31 +02:00
Christoph Groß d82a3d82f9 making delay public 2018-05-11 11:36:56 +02:00
Christoph Groß d75a3f3e96 some changes 2018-05-09 16:50:54 +02:00