Caemor
9d0e78bc15
Updated to eh a6, delay not yet catched
4 years ago
Chris
b845319771
Update src/epd4in2/mod.rs
4 years ago
Christian Meusel
3edeac413d
Provide full QuickRefresh interface for 4in2 too
...
This display needs no special commands for displaying the new frame. But
it will come in handy to support the full QuickRefresh trait when it
comes to supporting different quick refresh capable displays from an
application.
4 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
Andreas
dc93687a86
Fixed epd2in9 quick refresh
5 years ago
Caemor
15e557951f
Further improvements around acronym lowercases,...
5 years ago
Caemor
9d95eeb64b
cargo fmt
5 years ago
Caemor
ba1b90e2f3
Removed #[allow(non_camel_case_types)] to fix issues
5 years ago
Edwin Svensson
c3a4cde815
skip closure/task
5 years ago
Edwin Svensson
04476e6671
fix tests
5 years ago
Edwin Svensson
9a1575b2ec
API change to partially fix #70
5 years ago
Caemor
788ddcab98
Apply #48 to QuickRefresh as well
5 years ago
Caemor
bcbef1e805
"EPD4in2: Don't set the resolution (and some more) over and over again.
...
If the resolution ever changes, something has horribly gone wrong." From @mgottschlag #48
5 years ago
David-OConnor
c30d213bc5
Added QuickRefresh trait, and implemented it for 4.2 display
5 years ago
Mitch Souders
96d505647d
Add support for ep5in65f
5 years ago
Caemor
2a3cd1ae01
Update lib to embedded_hal 1.0a2
5 years ago
Robin Appelman
5cb7de5929
make reset timing device specific
...
reset timings seem to be device specific, trying to reset the 7in5_v2 with timings from other devices does not reset the display.
Timings taken from https://github.com/waveshare/e-Paper/blob/master/RaspberryPi%26JetsonNano/python/lib/waveshare_epd
5 years ago
Caemor
409676423d
Mainly improved Documenation
6 years ago
Caemor
ec72357b55
Update/Include new update_and_display trait
6 years ago
Christoph Grabo
a9f27e51ae
Use embedded_hal::digital::v2 (v1 is deprecated)
6 years ago
Chris
7b4a7f0578
v0.3.2 - some timing fixes ( #29 )
...
* Fixed some missing wait_until_idle calls
* prepared release of 0.3.2
* cargo fmt
This is known to fail on travis because it uses the deprecated old digital v1 embedded hal pins
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
ebb33661c3
cleanup of a few tested/resolved todos
7 years ago
Chris
e518265273
Run cargo fmt (reverted for constants and some graphic calculations)
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
520317f351
Fixed examples and more small improvements
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
8922707bac
Renamed drawing to graphics and extracted display-specific stuff into the display folders
7 years ago
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