Kaleb Elwert
f3e7dad83d
Address PR feedback
4 years ago
Kaleb Elwert
247a78acb7
Write data over SPI 1 byte at a time
...
Fixes #82
4 years ago
Caemor
15e557951f
Further improvements around acronym lowercases,...
5 years ago
Edwin Svensson
c3a4cde815
skip closure/task
5 years ago
Edwin Svensson
9a1575b2ec
API change to partially fix #70
5 years ago
pi
c27ffd507f
Added support for the 7.5 inch HD display
5 years ago
Robin Appelman
674b88e327
use correct 7in5_v2 reset delay, not the b/c variant
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
Christoph Grabo
4ecee29641
Apply cargo fmt
6 years ago
Christoph Grabo
a9f27e51ae
Use embedded_hal::digital::v2 (v1 is deprecated)
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
22e3ee22b2
Include `set_lut` in WaveshareDisplay Trait
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
4916ac674a
Add an reference to the linux specific max spi bytes size
7 years ago
Chris
6b89ee1b8e
Set spi chunk limit on linux with cfg!
...
Not tested yet
7 years ago
Chris
468425881c
readd data_x_times
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
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
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
Christoph Groß
7fa1a27f40
Shortened TypeDefinitions,
...
made init a private function,
added a crate internal extended waveshareinterface,
added a combined Connection_interface::data_and_command function,
added a wake_up function,
added a updated_and_display_partial_frame_function
7 years ago
Christoph Groß
cd98033204
first steps to rustfmt althought it sometimes doesn#t exactly looks good
7 years ago
Christoph Groß
6422142133
Not all Type A screens are completly the same to the change to bring it all together was reverted.
7 years ago
Christoph Groß
9791e1b727
Renaming of a few Traits and changing the ConnectionInterface::new() variables
7 years ago
Christoph Groß
634598c111
improved documenation
7 years ago
Christoph Groß
2c7807265c
-fixed a doc test error in the interface file even though it's unknown why that was even recognized as a doc test
...
- fixed a few documentation links and warnings
8 years ago
Christoph Groß
1f2c68d16d
Finished 2in9 support, now it needs to be tested
8 years ago
Christoph Groß
5e03c3c39a
Stablised traits and interfaces, converted epd4in2 to it, and started real work on epd2in9
8 years ago
Christoph Groß
80e5c0ffb1
improved traits, now it should be ready to convert 4.2"
8 years ago
Christoph Groß
ceee294cda
Started some shared traits between the different epds, saving now
8 years ago