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
f039b1f6a4
Improve documentation
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
f131636b01
Addition to previous commit (examples and forgotten save)
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
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
6efa864014
Renamed folder `interface` to `traits`
7 years ago
Christoph Groß
fa6bce5ee7
Cleanup of WaveshareInterface
...
-Removed update_and_display_frame
-removed update_and_display_partial_frame
-Renamed get_width and get_height to just width and height
7 years ago
Christoph Groß
493a7bd0c0
Clarified Documentation for clear_frame and sleep
7 years ago
Christoph Groß
e0cf10bf4e
Moved Colors into its own module
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ß
a08b285cf7
removed display trait
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ß
c4ba7ffb21
Added a new Display Trait, but that is still in work and renamed a few other traitnames to make them more clear
7 years ago
Christoph Groß
634598c111
improved documenation
7 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