Caemor
dcaed6fb3e
Update embedded-graphics and update epd4in2-blue-pill-exampleg
6 years ago
dbr
3e56353cb6
embedded-graphics 0.5.0 removed the with_ prefix from some methods
...
with_stroke() to stroke()
with_fill() to fill()
with_style() to style()
7 years ago
dbr
99b4cff362
draw_helper takes IntoIterator
...
Update other display types
7 years ago
dbr
f96caeb419
Update for embedded-graphics 0.5.2
7 years ago
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
e518265273
Run cargo fmt (reverted for constants and some graphic calculations)
7 years ago
Chris
3fc25d71e5
Improved Documentation
8 years ago
Chris
3b0b5962ec
Streamline a few things
8 years ago
Chris
a1adeb77a4
more changes to the displaydimension trait
8 years ago
Chris
a832ab9fed
add more changes
8 years ago
Chris
f6a894c5a3
use generalised graphics with new specialised buffers
8 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
8 years ago
Chris
8922707bac
Renamed drawing to graphics and extracted display-specific stuff into the display folders
8 years ago
Chris
b7275198e1
remove another dublicate test case
8 years ago
Chris
a522375695
Clean up and removal of a few fixed todos
8 years ago
Chris
0fc3b5da18
seperate drawing impl in multiple functions for better test coverage
8 years ago
Chris
e21dbfb7e3
Removed duplicate test (from color)
8 years ago
Chris
591d25f74a
reverse color change
8 years ago
Chris
dadc302945
test inverse color matching once more
8 years ago
Chris
b9a833ec5f
Revert "inverse the colors"
...
This reverts commit 7dd826795a .
8 years ago
Chris
7dd826795a
inverse the colors
8 years ago
Chris
2a3b10ba94
Don't make expensive calculations if pixel is outside the display and return early
8 years ago
Chris
dbdb8912a8
cleanup
8 years ago
Chris
08457e503d
Use the fixed embedded graphics lib once more
8 years ago
Chris
2fb19b2df9
added many tests to drawing
8 years ago
Chris
d2a47eb05c
Rename Buffer Trait to Display and add a Rotation Function to it
8 years ago
Chris
ff21d6e611
add impl Drawing<Color> for DisplayEink42BlackWhite
...
fix error by using option for style
8 years ago
Chris
29b7986848
Add from_u8 to color, finish drawing for 4in2
8 years ago
caemor
e30cb6f7e8
Make Enum DisplayRotation, impl Buffer and Drawing for 4in2 display
8 years ago