Chris
3fc25d71e5
Improved Documentation
7 years ago
Chris
697a781ff2
Remove more or less duplicate test cases for 2in9 buffer
7 years ago
Chris
520317f351
Fixed examples and more small improvements
7 years ago
Chris
139096297b
Generalise graphics once more
...
Change u16 positions to u32 to adapt to embedded graphics unsigned coordinates
Furthermore added epd4in2 defaults graphics buffer
7 years ago
Chris
9289d689b7
Fix epd1in54 example, test if old bugs are fixed
7 years ago
Chris
8904066de6
Moved constants of type_a to its own file
7 years ago
Chris
468425881c
readd data_x_times
7 years ago
Chris
89489da657
Renaming of WaveshareInterface and Connectioninterface
...
WaveshareInterface -> WaveshareDisplay
traits::interface::ConnectionInterface -> interface::DisplayInterface
7 years ago
Chris
87832f6043
Made SPI shareable
...
Disown spi for better shareabilty
7 years ago
Chris
6a24acf62b
Removed data_x_times function
7 years ago
Chris
2f4ebfecab
Fix previous Delay Commit
...
Some stuff was forgotten in the previous commit
7 years ago
Chris
fabc5f262e
Make delay a function parameter
...
This change makes delay a function parameter where necessary and stops the need of owning the delay
7 years ago
Chris
1791388a8b
Renamed folder `interface` to `traits`
7 years ago
Chris
0ddaf9679a
Deletion of single u8 data Transfers and renaming of various functions
...
command_with_data -> cmd_with_data
command -> cmd
multiple_data -> data
7 years ago
Chris
829a9e71eb
Fix previous Delay Commit
...
Some stuff was forgotten in the previous commit
7 years ago
Chris
38dc5126ee
Make delay a function parameter
...
This change makes delay a function parameter where necessary and stops the need of owning the delay
7 years ago
Chris
6efa864014
Renamed folder `interface` to `traits`
7 years ago
Chris
7612aad99a
Deletion of single u8 data Transfers and renaming of various functions
...
command_with_data -> cmd_with_data
command -> cmd
multiple_data -> data
7 years ago
Christoph Groß
80090d8df2
Added testcases for default size and color of the various displays
7 years ago
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
7 years ago
Christoph Groß
e0cf10bf4e
Moved Colors into its own module
7 years ago
Christoph Groß
cd593c51cb
Make the code more readable with a few already introduced adapter functions (e.g. command_with_data)
7 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
7 years ago
Christoph Groß
cd98033204
first steps to rustfmt althought it sometimes doesn#t exactly looks good
7 years ago
Christoph Groß
49bad9c547
fixed the wrong reference to the epd2in9 display instead of the 1in54
7 years ago
Christoph Groß
835e25d133
Used cargo clippy to fix a few bad coding styles
7 years ago
Christoph Groß
5c8972ec46
small epd removel update
7 years ago
Christoph Groß
5dbf873631
Moved type_a LUTs to type_a mod.rs ,
...
updated dependencies accordingly
7 years ago
Christoph Groß
6422142133
Not all Type A screens are completly the same to the change to bring it all together was reverted.
7 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
7 years ago