Valentin Trophime
7318f971cf
update dependencies
2024-02-13 12:24:24 +01:00
chemicstry
aa0003d0a4
Bump embedded-hal to 1.0.0-alpha.9
2022-10-07 15:01:55 +03:00
VersBinarii
a5e7f6498a
Add idle mode, brightness and framerate control
2022-04-23 21:25:22 +02:00
VersBinarii
1f47f5797e
Add Invert, display and sleep control commands
2022-04-21 13:43:06 +02:00
VersBinarii
6e8c814156
Add clear_screen function
2022-04-18 18:46:30 +02:00
VersBinarii
b0f3b14664
Bump embedded-hal to alpha7
2022-04-16 22:29:50 +02:00
Priit Laes
11661b20b6
Add basic usage example to the index screen
2021-11-18 22:32:37 +02:00
imarkov
8a4aee95c2
Support for boards that need a non-standard initialization command
2021-07-14 21:34:55 +03:00
Yuri Iozzelli
ddffec49c6
Remove support for embedded-graphics 0.6
2021-06-10 18:35:09 +02:00
Grant Miller
115fec7703
Add support for embedded-graphics-core 0.3
2021-05-12 17:01:59 -05:00
Grant Miller
47d4a07469
Move mod graphics
to top and delete extern crate
2021-05-12 15:37:04 -05:00
Grant Miller
c93637abfd
Rename draw methods
...
- Rename `draw_iter` to `draw_raw_iter` to avoid conflict with
`embedded_graphics_core::DrawTarget::draw_iter`
- Rename `draw_raw` to `draw_raw_slice` for consistency
2021-05-12 15:33:38 -05:00
Grant Miller
535feb236c
Loosen trait bounds
2021-05-11 11:53:39 -05:00
Grant Miller
be44c24eea
Use Result alias
2021-05-11 11:53:39 -05:00
Grant Miller
954d111959
Use display_interface::DisplayError
2021-05-11 11:50:51 -05:00
Yuri Iozzelli
d9f35775d6
Merge pull request #24 from GrantM11235/remove-old-interface-trait
...
Remove old `Interface` trait
2021-05-11 09:17:57 +02:00
Grant Miller
ea9cb59bff
Remove old Interface
trait
2021-05-10 16:02:56 -05:00
Grant Miller
8884885ca0
Move ::spi::MODE
to ::SPI_MODE
...
We don't need a whole module for just one const
2021-05-10 15:57:26 -05:00
Ales Musil
e350936d82
Fix underflow in scrolling
...
When window was smaller than whole display
scrolling by small step could cause underflow
in the offset computation.
2021-01-21 13:20:30 +01:00
Ales Musil
b5077900be
Do not hardcode display size
...
ili driver family is pretty generic with support
of multiple display sizes. By having width and size
as parameter this driver can support broader range
of ili displays.
2020-10-30 08:28:47 +01:00
Tom
afbfd98f9d
Implement hardware vertical scroll
2020-10-17 00:36:58 -07:00
Grant Miller
61531412cf
Add comment to pixel format set
2020-08-28 15:35:08 -05:00
Grant Miller
427127fe2d
Use set_orientation
in initialization
2020-08-28 15:35:08 -05:00
Grant Miller
780a5f0c25
Remove gamma set command, 0x01 is the default
2020-08-28 15:35:08 -05:00
Grant Miller
bc1282b0ca
Remove extended commands
2020-08-28 15:35:08 -05:00
Grant Miller
2342655799
Simplify reset and reduce delays
2020-08-28 15:35:08 -05:00
Yuri Iozzelli
332aa05bc4
Merge pull request #16 from therealprof/display-interface
...
Rough first conversion to display-interface
2020-06-06 09:55:03 +02:00
Stefan Kerkmann
ed2b2eeed4
Improve readability
2020-06-05 20:12:33 +02:00
Stefan Kerkmann
8c45de7e90
Implement optimized DrawTarget::clear
2020-06-05 18:07:45 +02:00
Daniel Egger
dc9a389b79
Rough first conversion to display-interface
...
Tested with SPI display
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
2020-06-01 14:30:03 +02:00
Yuri Iozzelli
799dc143b8
cargo fmt
2020-03-01 16:45:59 +01:00
Yuri Iozzelli
651aba971b
Move embedded_graphics code in graphics.rs
2020-03-01 16:44:41 +01:00
Yuri Iozzelli
6bdd8e6e37
Add fast rectangle drawing
2020-03-01 16:34:32 +01:00
Yuri Iozzelli
fe16080383
Update to embedded_graphics 0.6.0-beta.1
2020-03-01 15:29:25 +01:00
Theo Hussey
30eb8755a4
added parallel gpio interface
2020-02-06 23:11:33 +00:00
Theo Hussey
97999343fd
added parallel gpio interface
2020-02-06 23:10:53 +00:00
Vadim Kaushan
c51eaa4ffa
Edition 2018
2020-01-28 20:53:24 +03:00
Vadim Kaushan
f958482f98
Shrink row buffer to the previous capacity
2020-01-28 20:50:58 +03:00
Vadim Kaushan
11c4a5ca34
Use u16 for pixel data
2020-01-28 20:35:46 +03:00
Vadim Kaushan
459545a777
Update Error type
2020-01-28 20:27:04 +03:00
Vadim Kaushan
6056b3db22
Fix formatting
2020-01-28 20:03:35 +03:00
Vadim Kaushan
d9ab0601b7
Split Ili9341 constructor in two
2020-01-28 20:02:35 +03:00
Vadim Kaushan
5b03a86bb0
Move SPI interface implementation into a separate file
2020-01-28 19:56:12 +03:00
Vadim Kaushan
f09403d092
Add Interface trait
2020-01-28 19:45:23 +03:00
Theo Hussey
20c22260a6
buffer contiguous pixels before sending to dislay for speed boost
2019-12-19 14:49:16 +00:00
Theo Hussey
363d7a0650
changed to use digital v2 output pin, corrected embedded-graphics endianness
2019-12-19 00:23:12 +00:00
David Flemström
6d82f813bc
Add color support
2019-12-17 11:06:54 +01:00
David Flemström
905a1c8406
Upgrade to embedded-graphics 0.6.0-alpha.2
2019-12-17 10:55:56 +01:00
James Waples
303b1da769
Support black and white drawing using e_g 0.4.4
2018-10-25 19:38:22 +01:00
Yuri Iozzelli
22f80d0e39
Fix color conversion for Pixel
2018-06-24 17:16:05 +02:00