Chris
5c0744ff01
Various improvements ( #25 )
...
- Added is_busy to Waveshare_Interface
- Added IS_BUSY_LOW const for all supported epds
- Added is_busy to DisplayInterface
- moved width, height and default_background_color directly to epd4in2 module
- Added VarDisplay (a variable buffersize display/graphic driver)
- Removed all Buffers (Buffer1in54,...) and instead made specialised Displays (Display1in54,...) with included Buffers
- Updated and added more examples
- Cargo fmt/clippy
- Improved Docs/Readmes
7 years ago
Chris
d7f3cdca97
Edition 2018 ( #24 )
...
* "cargo fix --edition" for the library
* Switch to 2018 edition
* Use cargo fix edition-idioms and remove the internal renaming from embedded_hal to hal
* Updated Readme
* run cargo fmt
7 years ago
Chris
b9395b5eff
Prepare release
...
- fix cargo fmt error
- rename forgotten stuff
7 years ago
Chris
ebb33661c3
cleanup of a few tested/resolved todos
7 years ago
Chris
2796d875f5
Add rustfmt::skip to constants and graphics::rotation
7 years ago
Chris
e518265273
Run cargo fmt (reverted for constants and some graphic calculations)
7 years ago
Chris
375adf4bff
Use `data_x_times` instead of big u8-slice
7 years ago
Chris
e76a2c45f8
Use data_x_times instead of big buffers
7 years ago
Chris
22e3ee22b2
Include `set_lut` in WaveshareDisplay Trait
7 years ago
Chris
a7d0f13d13
Fix clippy lints
7 years ago
Chris
91d7a7862a
improved docs for 2in9
7 years ago
Chris
0204e72cb5
Some last doc changes
7 years ago
Chris
3fc25d71e5
Improved Documentation
7 years ago
Chris
f039b1f6a4
Improve documentation
7 years ago
Chris
598a6924ea
Cleanup of color-module and removal of old drawing module
7 years ago
Chris
697a781ff2
Remove more or less duplicate test cases for 2in9 buffer
7 years ago
Chris
efa5591788
Added some comments to the previous commit
7 years ago
Chris
824735fb64
Fix error where pixel outside display lead to early return instead of just skipping that pixel
7 years ago
Chris
520317f351
Fixed examples and more small improvements
7 years ago
Chris
3b0b5962ec
Streamline a few things
7 years ago
Chris
a1adeb77a4
more changes to the displaydimension trait
7 years ago
Chris
a832ab9fed
add more changes
7 years ago
Chris
f6a894c5a3
use generalised graphics with new specialised buffers
7 years ago
Chris
1baf35c1a4
Forgotten files in previous commit
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
8922707bac
Renamed drawing to graphics and extracted display-specific stuff into the display folders
7 years ago
Chris
b7275198e1
remove another dublicate test case
7 years ago
Chris
a522375695
Clean up and removal of a few fixed todos
7 years ago
Chris
0fc3b5da18
seperate drawing impl in multiple functions for better test coverage
7 years ago
Chris
e21dbfb7e3
Removed duplicate test (from color)
7 years ago
Chris
591d25f74a
reverse color change
7 years ago
Chris
dadc302945
test inverse color matching once more
7 years ago
Chris
b9a833ec5f
Revert "inverse the colors"
...
This reverts commit 7dd826795a .
7 years ago
Chris
7dd826795a
inverse the colors
7 years ago
Chris
2a3b10ba94
Don't make expensive calculations if pixel is outside the display and return early
7 years ago
Chris
dbdb8912a8
cleanup
7 years ago
Chris
08457e503d
Use the fixed embedded graphics lib once more
7 years ago
Chris
e17697cfb1
Fix missing std-lib in a test
7 years ago
Chris
2fb19b2df9
added many tests to drawing
7 years ago
Chris
d2a47eb05c
Rename Buffer Trait to Display and add a Rotation Function to it
7 years ago
Chris
8904066de6
Moved constants of type_a to its own file
7 years ago
Chris
ff21d6e611
add impl Drawing<Color> for DisplayEink42BlackWhite
...
fix error by using option for style
7 years ago
Chris
98a9b1c0ed
Fix examples
7 years ago
Chris
29b7986848
Add from_u8 to color, finish drawing for 4in2
7 years ago
Chris
8a7309cfc8
Renamed old drawing mod to drawing_old
7 years ago
caemor
e30cb6f7e8
Make Enum DisplayRotation, impl Buffer and Drawing for 4in2 display
7 years ago
caemor
3196c4b387
fix embedded_graphics include
7 years ago
caemor
c16e136d09
fix
7 years ago
caemor
8d08bef233
add embedded_graphics
7 years ago