Chris
a522375695
Clean up and removal of a few fixed todos
7 years ago
Chris
29b7986848
Add from_u8 to color, finish drawing for 4in2
7 years ago
Chris
aa7497fa60
Still trying to fix an error
7 years ago
Chris
2e4ee5308a
remove error in previous commit
7 years ago
Chris
4155bd616b
add error messages for debugging
7 years ago
Chris
b7fe5674ee
send full buffer instead of loop
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ß
9fc4c0c1c7
Fixed missing renaming of .width() and height() methods
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ß
4870b72336
reduced visibility of commands as they normally should only be needed interally
7 years ago
Christoph Groß
121a61b72d
removed the unused epd stuff
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ß
38f446304b
removed duplicate spi_mode and improved naming of spi_error type
7 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
7 years ago
Christoph Groß
9f5d748e07
Forgot to remove a samll test comment line within the last commit
8 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
8 years ago
Christoph Groß
1f2c68d16d
Finished 2in9 support, now it needs to be tested
8 years ago
Christoph Groß
5e03c3c39a
Stablised traits and interfaces, converted epd4in2 to it, and started real work on epd2in9
8 years ago
Christoph Groß
66f70b3244
Hide the Fast Update which possible might lead to Ghosting/Burn-in effects behind a feature gate
8 years ago
Christoph Groß
4090fb4ead
Made draw_char and draw_string ready for tests
...
Extracted color to a seperate file
8 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
8 years ago
Christoph Groß
b022ec1dbb
Use Drawing::Color instead of hardcoded values
8 years ago
Chris
d4abd54b56
added fast partial update to embedded_linux example
8 years ago
Chris
89259d3c78
maybe the full buffer was to much for rpi spi transmission, testing now
8 years ago
Chris
ba5d44a1d7
fixed documentation tests by ignoring them as they are just examples not build for running
8 years ago
Christoph Groß
d82a3d82f9
making delay public
8 years ago
Christoph Groß
d75a3f3e96
some changes
8 years ago