Commit Graph

166 Commits (27e367c89c447283d6646ee77fe4af674785be75)

Author SHA1 Message Date
Christoph Groß e0cf10bf4e Moved Colors into its own module 5 years ago
Christoph Groß 4c704a3af5 Started a new example for 1.54 in 5 years ago
Christoph Groß cd593c51cb Make the code more readable with a few already introduced adapter functions (e.g. command_with_data) 5 years ago
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
5 years ago
Christoph Groß 99d1d66a3c add copy and clone traits to color 5 years ago
Christoph Groß 956a04d0f1 Make Connectioninterface private 5 years ago
Christoph Groß e253b33704 renamed terminate command to NOP 5 years ago
Christoph Groß cd98033204 first steps to rustfmt althought it sometimes doesn#t exactly looks good 5 years ago
Christoph Groß 7758e37e1a - Made Connectioninterface public in root module,
- fixed the example (which needed updated dependencies)
5 years ago
Christoph Groß 49bad9c547 fixed the wrong reference to the epd2in9 display instead of the 1in54 5 years ago
Christoph Groß 835e25d133 Used cargo clippy to fix a few bad coding styles 5 years ago
Christoph Groß 4870b72336 reduced visibility of commands as they normally should only be needed interally 5 years ago
Christoph Groß 864626f8fd removed all now uneccessary stuff from type_a as it's back to the direct display module (epd1in54 and epd2in9) 5 years ago
Christoph Groß 5c8972ec46 small epd removel update 5 years ago
Christoph Groß 121a61b72d removed the unused epd stuff 5 years ago
Christoph Groß a08b285cf7 removed display trait 5 years ago
Christoph Groß e439153862 Epds isn't really needed 5 years ago
Christoph Groß 6ca5d58919 still a feature gate update 5 years ago
Christoph Groß 5dbf873631 Moved type_a LUTs to type_a mod.rs ,
updated dependencies accordingly
5 years ago
Christoph Groß 6422142133 Not all Type A screens are completly the same to the change to bring it all together was reverted. 5 years ago
Christoph Groß 230fb947cb Added a general display description struct (epds::epd) 5 years ago
Christoph Groß 38f446304b removed duplicate spi_mode and improved naming of spi_error type 5 years ago
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 5 years ago
Christoph Groß 36aa5118fc added a new file to contain the information about the various displays 5 years ago
Christoph Groß bbb79560f6 moved duplicate type a constants, commands and configs to a new, more generalised type_a module, not completly finished yet 5 years ago
Christoph Groß 9791e1b727 Renaming of a few Traits and changing the ConnectionInterface::new() variables 5 years ago
Christoph Groß 634598c111 improved documenation 5 years ago
Christoph Groß 94ac5938b2 fixed bad documentation of the 2in9 epd 5 years ago
Christoph Groß 51ef655819 rebase 5 years ago
Christoph Groß 9f5d748e07 Forgot to remove a samll test comment line within the last commit 5 years ago
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
5 years ago
Christoph Groß 1f2c68d16d Finished 2in9 support, now it needs to be tested 5 years ago
Christoph Groß 5e03c3c39a Stablised traits and interfaces, converted epd4in2 to it, and started real work on epd2in9 5 years ago
Christoph Groß 80e5c0ffb1 improved traits, now it should be ready to convert 4.2" 5 years ago
Christoph Groß ceee294cda Started some shared traits between the different epds, saving now 5 years ago
Christoph Groß 4cd9b26a24 Started work on 2in9 waveshare device, but nothing much besides copying has yet happened 5 years ago
Christoph Groß 66f70b3244 Hide the Fast Update which possible might lead to Ghosting/Burn-in effects behind a feature gate 5 years ago
Christoph Groß 5cfa3e8b1f Added mutable reference to buffer directly in graphics.
Updated example and tests with the new version.
5 years ago
Christoph Groß 450049ef0f Removed function never used warning 5 years ago
Christoph Groß 98fe6e2f3e Updated Example to the version of the lib 5 years ago
Christoph Groß 4090fb4ead Made draw_char and draw_string ready for tests
Extracted color to a seperate file
5 years ago
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
5 years ago
Chris 3fa576732c Merge branch 'master' of github.com:Caemor/eink-waveshare-rs 5 years ago
Christoph Groß fc877efb60 forgot to save before the last commit 5 years ago
Christoph Groß e59926e0c7 Improved work on Font Handling, still not finished and also added a few testcases 5 years ago
Christoph Groß 156eb43eda Added simple test case for command addresses, so no regression should happen. 5 years ago
Christoph Groß f180815f87 Added seperate 8x8 Char and String Drawing, Improved Color Struct,
Further work was done on other Font and String drawing.
Added even more test cases for Drawings
5 years ago
Christoph Groß b022ec1dbb Use Drawing::Color instead of hardcoded values 5 years ago
Chris f8f6b05e72 Documented broken char and string drawing 5 years ago
Chris 81966846ba reversed the wrong change of state 5 years ago
Chris e56753c677 make draw_string accept string slices instead of char slices 5 years ago
Chris 869866d997 for further testing purposes, draw_byte is still not stable 5 years ago
Chris 38a400a83f added fonts and chars, but more improvement is needed there 5 years ago
Chris d4abd54b56 added fast partial update to embedded_linux example 5 years ago
Chris c9578109cf Improved Drawing Documentation, improved example 5 years ago
Chris 03f2cbc942 decreased the change of a overflow happening in draw_pixel, some more calculations and improvements are needed 5 years ago
Chris 2272ef80ee improved embedded_linux example 5 years ago
Chris 89259d3c78 maybe the full buffer was to much for rpi spi transmission, testing now 5 years ago
Christoph Groß d68703d648 improvements to the drawing part, only needs a few more small additions (filled circle, chars, strings,...) and few small changes to the readme 5 years ago
Christoph Groß 9d8a326c82 started work on the drawing part 5 years ago
Christoph Groß 2feff5b9fa added drawing mod to the library, improved readme, fixed travis.yml, made rpi example working with a better pin config, 5 years ago
Chris ba5d44a1d7 fixed documentation tests by ignoring them as they are just examples not build for running 5 years ago
Christoph Groß ba674d595d removed deploy from travis and whiteline 5 years ago
Christoph Groß fcbcc82b97 Added examples, small updates to the readme and other small documentation changes 5 years ago
Christoph Groß d82a3d82f9 making delay public 5 years ago
Christoph Groß d75a3f3e96 some changes 5 years ago