Denis Chaplygin
271922a8b1
Added documentation and changelog entries.
4 years ago
Denis Chaplygin
9b20bae100
Added support for 5.83" Black/Red/White Display
4 years ago
Chris
abf3bba966
Update graphics.rs
...
Fix needless borrow
4 years ago
Chris
493cbd9394
Fix clippy warning ( #86 )
...
* Fix clippy improvements warnings
5 years ago
James Waples
a92eac02a4
Make embedded-graphics a dev dependency
...
e-g-core should be the only e-g dependency required for the driver
itself, so this PR changes a few of the imports to reflect that.
5 years ago
Reinier Balt
5622627c1f
fix remaining PrimitiveStyleBuilder conversions
5 years ago
Reinier Balt
78ffda673e
migrate minimum set of drivers to make tests pass
5 years ago
Reinier Balt
a55a9970a5
cargo fmt
5 years ago
Reinier Balt
c25d9f18d3
Enable drawing in three colors for epd2in13
...
Move from BinaryColor to TriColor: use one Display fo drawing
5 years ago
Mitch Souders
e49e144a34
Minor fixups
5 years ago
Mitch Souders
e225464b62
Cargo fmt
5 years ago
Mitch Souders
96d505647d
Add support for ep5in65f
5 years ago
Marc Poulhiès
82b8c98538
Better handling for screen size not divisible by 8
...
Screen with width not divisible by 8 require special care when allocating the
buffer and when handling rotation.
Define a function for getting the needed buffer size (round up to next byte).
Change how rotation is done by changing coordinates instead of direct pixel
access.
6 years ago
Caemor
409676423d
Mainly improved Documenation
6 years ago
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
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
22e3ee22b2
Include `set_lut` in WaveshareDisplay Trait
7 years ago
Chris
f039b1f6a4
Improve documentation
8 years ago
Chris
697a781ff2
Remove more or less duplicate test cases for 2in9 buffer
8 years ago
Chris
efa5591788
Added some comments to the previous commit
8 years ago
Chris
824735fb64
Fix error where pixel outside display lead to early return instead of just skipping that pixel
8 years ago
Chris
520317f351
Fixed examples and more small improvements
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
1baf35c1a4
Forgotten files in previous commit
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