Commit graph

96 commits

Author SHA1 Message Date
Yuri Iozzelli 8aeefc4abc
Merge pull request #30 from plaes/min-doc-example
Add basic usage example to the index screen
2021-11-19 11:23:14 +01:00
Priit Laes 11661b20b6 Add basic usage example to the index screen 2021-11-18 22:32:37 +02:00
Yuri Iozzelli c3d0d08a3c
Merge pull request #29 from ivmarkov/master
Support for boards that need a non-standard initialization command
2021-08-07 10:31:07 +02:00
imarkov 8a4aee95c2 Support for boards that need a non-standard initialization command 2021-07-14 21:34:55 +03:00
Yuri Iozzelli 19efa445bf Bump version to 0.5.0 2021-06-10 18:40:31 +02:00
Yuri Iozzelli 634558b18e
Merge pull request #28 from yuri91/embedded-graphics-0.7
Embedded graphics 0.7
2021-06-10 18:39:42 +02:00
Yuri Iozzelli e33b10c885 Update embedded-hal version 2021-06-10 18:36:21 +02:00
Yuri Iozzelli ddffec49c6 Remove support for embedded-graphics 0.6 2021-06-10 18:35:09 +02:00
Yuri Iozzelli 7c2e3e27fb
Merge pull request #26 from GrantM11235/e-g-core
Add support for embedded-graphics-core 0.3
2021-05-13 18:14:35 +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
Yuri Iozzelli 510d0c9a03
Merge pull request #25 from GrantM11235/display-error
Use `display_interface::DisplayError`
2021-05-11 20:24:46 +02: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
Yuri Iozzelli a68c0530ec
Merge pull request #23 from GrantM11235/spi-mode
Move `::spi::MODE` to `::SPI_MODE`
2021-05-11 09:17:11 +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
Yuri Iozzelli 2b7ee112fb
Merge pull request #22 from almusil/fix_scrolling
Fix underflow in scrolling
2021-01-21 16:51:51 +01: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
Yuri Iozzelli 509060bb5d
Merge pull request #21 from almusil/do_not_hardcode_size
Do not hardcode display size
2020-11-07 12:46:48 +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
Yuri Iozzelli 64963398c7 Bump version to 0.4.1 2020-10-25 09:51:07 +01:00
Yuri Iozzelli 6adc0191d1
Update readme with scrolling feature 2020-10-21 18:41:37 +02:00
Yuri Iozzelli 81377dfddf
Merge pull request #20 from twitchyliquid64/master
Implement hardware vertical scroll
2020-10-21 18:40:45 +02:00
Tom afbfd98f9d Implement hardware vertical scroll 2020-10-17 00:36:58 -07:00
Yuri Iozzelli e45feea807 Bump version to 0.4.0 2020-09-01 22:19:08 +02:00
Yuri Iozzelli d4afd398f5 Update dependencies 2020-09-01 22:18:05 +02:00
Yuri Iozzelli eff270ab2d Merge branch 'GrantM11235-init-cleanup' 2020-09-01 21:43:05 +02: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
Yuri Iozzelli 0b1ba5c7de
Merge pull request #17 from KarlK90/clear
Implement optimized DrawTarget::clear
2020-06-06 09:54:06 +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 7f678b7e9f Bump version to 0.3.0 2020-04-15 18:16:14 +02:00
Yuri Iozzelli c6e4e6394c Merge branch 'jamwaffles-upgrade-e-g' 2020-04-15 18:15:32 +02:00
James Waples 7f8892c910 Upgrade e-g to 0.6.1 2020-04-15 13:13:59 +01:00
Yuri Iozzelli 9fd0457aa7 mention embedded-graphics in the readme 2020-03-01 16:51:09 +01:00
Yuri Iozzelli f80f2a3e93 Bump version to 0.3.0-beta.1 2020-03-01 16:46:40 +01: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