Commit Graph

267 Commits (101c8b897bf1247eb895ad92d108faab57a47d90)

Author SHA1 Message Date
Chris b9430236e7
Merge pull request #14 from Caemor/fix-os-90-spi-message-on-linux-too-long
Set spi chunk limit on linux with cfg! to fix error
2018-10-14 13:52:27 +02:00
caemor 3196c4b387 fix embedded_graphics include 2018-10-14 12:38:56 +02:00
caemor c16e136d09 fix 2018-10-14 12:38:11 +02:00
caemor 8d08bef233 add embedded_graphics 2018-10-14 12:36:54 +02:00
Chris 4916ac674a Add an reference to the linux specific max spi bytes size 2018-10-12 11:35:13 +02:00
Chris 6b89ee1b8e Set spi chunk limit on linux with cfg!
Not tested yet
2018-10-12 11:30:04 +02:00
Chris a079653a26 Change example 2018-10-11 10:10:24 +02:00
Chris 468425881c readd data_x_times 2018-10-11 00:33:44 +02:00
Chris 98e392fff1 changed example 2018-10-11 00:21:12 +02:00
Chris 0571ab4a34 final fix 2018-10-11 00:11:15 +02:00
Chris 81710bfc50 fix small example 2018-10-11 00:05:56 +02:00
Chris aa7497fa60 Still trying to fix an error 2018-10-10 21:30:22 +02:00
Chris 2e4ee5308a remove error in previous commit 2018-10-10 21:11:05 +02:00
Chris 4155bd616b add error messages for debugging 2018-10-10 20:58:05 +02:00
Chris 16686dee6d example change 2018-10-10 20:55:05 +02:00
Chris b7fe5674ee send full buffer instead of loop 2018-10-10 20:37:39 +02:00
Chris 526db5dace Extend error message in example 2018-10-10 20:31:14 +02:00
Chris d0ac29ed90 print error in example instead of quitting 2018-10-10 20:26:59 +02:00
Chris 2e2e70c59c
Merge pull request #12 from Caemor/Cleanup-Interface
[WIP] Cleanup interface
2018-10-10 20:12:55 +02:00
Chris f131636b01 Addition to previous commit (examples and forgotten save) 2018-10-10 17:03:18 +02:00
Chris 89489da657 Renaming of WaveshareInterface and Connectioninterface
WaveshareInterface -> WaveshareDisplay
traits::interface::ConnectionInterface -> interface::DisplayInterface
2018-10-10 17:01:03 +02:00
Chris 0363e8527f Adapted examples to previous commit 2018-10-10 16:22:41 +02:00
Chris 87832f6043 Made SPI shareable
Disown spi for better shareabilty
2018-10-10 16:06:27 +02:00
Chris 6a24acf62b Removed data_x_times function 2018-10-10 14:43:18 +02:00
Chris 99d328575f fix examples 2018-10-10 14:25:15 +02:00
Chris 9ac06ead28 Merge branch 'Cleanup-Interface' of github.com:Caemor/eink-waveshare-rs into Cleanup-Interface 2018-10-10 13:51:00 +02:00
Chris 2f4ebfecab Fix previous Delay Commit
Some stuff was forgotten in the previous commit
2018-10-10 13:45:35 +02:00
Chris fabc5f262e Make delay a function parameter
This change makes delay a function parameter where necessary and stops the need of owning the delay
2018-10-10 13:45:35 +02:00
Chris 1791388a8b Renamed folder `interface` to `traits` 2018-10-10 13:45:34 +02:00
Chris 0ddaf9679a Deletion of single u8 data Transfers and renaming of various functions
command_with_data -> cmd_with_data
command -> cmd
multiple_data -> data
2018-10-10 13:45:34 +02:00
Chris 829a9e71eb Fix previous Delay Commit
Some stuff was forgotten in the previous commit
2018-10-10 13:30:52 +02:00
Chris 38dc5126ee Make delay a function parameter
This change makes delay a function parameter where necessary and stops the need of owning the delay
2018-10-10 13:23:43 +02:00
Chris e489b7af30
Merge pull request #10 from Caemor/STM32F3DISCOVERY-Beispiel
Added example and tests for stm32f3discovery 

Added an example for stm32f3discovery, which also adds automatic (via travis) build tests for the stm32f3
2018-10-10 11:40:59 +02:00
Chris 6efa864014 Renamed folder `interface` to `traits` 2018-10-10 11:37:36 +02:00
Chris e14c3a5f76 Fix travis build for stm32f3 2018-10-10 09:31:04 +02:00
Chris 7612aad99a Deletion of single u8 data Transfers and renaming of various functions
command_with_data -> cmd_with_data
command -> cmd
multiple_data -> data
2018-10-10 09:20:34 +02:00
Chris 632f4932ad
Merge pull request #8 from Caemor/size_testcase
Adds testcases for the sizes of the displays and default backgroundcolor
2018-10-09 14:42:42 +02:00
Christoph Groß 5b80530ba2 Finished stm32f3disovery example.
This example still needs to be tested on the board
2018-10-09 14:41:26 +02:00
Christoph Groß 80090d8df2 Added testcases for default size and color of the various displays 2018-10-09 09:56:51 +02:00
Christoph Groß 806d9a1e2d Added stm32f3 example,
This is example is missing good usage of the crate,
but before that eh_personality needs to be fixed
2018-09-21 16:38:10 +02:00
Christoph Groß e82df01f34 Updated Travis
- Added 2nd example
- use cargo check instead of cargo build for first fast check
2018-09-19 16:28:41 +02:00
Christoph Groß e4e4cd57d2 Fixed example epd4in2 with missing rename 2018-09-19 16:26:40 +02:00
Christoph Groß 9fc4c0c1c7 Fixed missing renaming of .width() and height() methods 2018-09-19 16:23:41 +02:00
Christoph Groß aa412ba220 Updated Example-Readme 2018-09-19 16:21:01 +02:00
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
2018-09-19 16:19:57 +02:00
Christoph Groß b0699b088d Finished the 2nd example which doesn't use the included graphics module 2018-09-19 11:55:48 +02:00
Christoph Groß 493a7bd0c0 Clarified Documentation for clear_frame and sleep 2018-09-19 11:55:19 +02:00
Christoph Groß 6c5220fb07 Added a seperate Readme to the examples and linked it from the main readme 2018-09-19 11:54:18 +02:00
Christoph Groß 9c08d8559e Forgotten parts of the previous commit for adding a graphics feature and using it 2018-09-19 11:48:05 +02:00
Christoph Groß 2cc4bceac3 Featuregate the graphics modules
This commit makes it possible to compile without the included graphics features
2018-09-19 11:46:51 +02:00