Caemor
dcaed6fb3e
Update embedded-graphics and update epd4in2-blue-pill-exampleg
6 years ago
Christoph Grabo
35291fe639
Add V2 version of epd7in5
6 years ago
Jack Grigg
c049b0a9f4
EPD7in5 support
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()
6 years ago
dbr
99b4cff362
draw_helper takes IntoIterator
...
Update other display types
6 years ago
dbr
f96caeb419
Update for embedded-graphics 0.5.2
6 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
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
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
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
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
ff21d6e611
add impl Drawing<Color> for DisplayEink42BlackWhite
...
fix error by using option for style
7 years ago
Chris
29b7986848
Add from_u8 to color, finish drawing for 4in2
7 years ago
caemor
e30cb6f7e8
Make Enum DisplayRotation, impl Buffer and Drawing for 4in2 display
7 years ago