Skip to content

Releases: almindor/mipidsi

v0.8.0

24 May 20:29
7ff5271
Compare
Choose a tag to compare

[v0.8.0] - 2024-05-24

Added

  • added GC9A01 model support
  • added Display::wake method
  • added Display::sleep method
  • added Display::is_sleeping method
  • added Display::dcs method to allow sending custom DCS commands to the device
  • added TestImage::default
  • added ST7796 model support (#125)

Changed

  • rename all Builder::with_* methods to versions without the with_ prefix to conform to the Rust API guidelines. See this issue for more info
  • options and error submodule types are no longer re-exported from the main library
  • DCS commands param fields are now all consistently private with added constructors for all such commands
  • DCS command constructors (such as SetAddressMode::new) are now marked as const, so DCS commands can be constructed in
    const contexts
  • replaced window_offset_handler function pointer with offset field
  • default to disabled color inversion for all generic models
  • renamed Display::set_scroll_region and Display::set_scroll_offset into set_vertical_scroll_region and set_vertical_scroll_offset
  • updated to embedded-hal v1.0.0
  • updated to display-interface v0.5.0
  • removed Model::default_options
  • bumped MSRV to v1.75
  • fixed DrawTarget::fill_contiguous for images that overlap the edge of the framebuffer
  • replaced model specific Builder constructors (like Builder::gc9a01) with one generic Builder::new constructor
  • replaced rest pin parameter in Builder::init by Builder::with_reset_pin setter
  • removed setters and getters from ModelOptions and instead made the fields public
  • added non_exhaustive attribute to ModelOptions
  • added checks to Builder::init to ensure that the display size and display offset are valid

Removed

  • removed Builder::with_framebuffer_size

0.7.1

05 Sep 16:04
9d921b4
Compare
Choose a tag to compare

Changed

  • fixed MSRV in Cargo.toml to match the rest at v1.61
  • switched embedded-graphics-core v0.4.0
  • updated initialization delays ILI934x model

v0.6.0

12 Jan 17:38
10296e5
Compare
Choose a tag to compare

Added

  • added Builder::with_window_offset_handler method
  • added ModelOptions::invert_colors flag
  • added Builder::with_invert_colors(bool) method
  • added ILI9341 model support

Changed

  • Model::init changed to expect options: &ModelOptions

Removed

  • removed duplicated INVON call in ST7735s model init

v0.5.0

19 Oct 20:06
a0ff9db
Compare
Choose a tag to compare

Added

  • added the Builder as construction method for displays to simplify configuration
    and protect against use-before-init bugs
  • added Model::default_options() so that each model can provide a sane default regardless of helper constructors

Changed

  • Model no longer has to own ModelOptions
  • Model::new was removed
  • the optional RST reset hw pin is now only used during the Builder::init call

Removed

  • removed direct Display constructors. Use Builder instead (see migration guide)
  • removed DisplayOptions in favour of Builder settings

v0.4.0

30 Sep 18:27
v0.4.0
30c15e9
Compare
Choose a tag to compare

Added

  • support for model variants via DisplayOptions
  • support for raspberry pico1 variant of the ST7789 display
  • support for the waveshare variants of the ST7789 display

Changed

  • split DisplayOptions into DisplayOptions and ModelOptions with sizing initialization safety constructors
  • refactored Display::init and constructors to match new variant code
  • fixed off by one error in fill operations

v0.3.0

30 Aug 16:40
c663f05
Compare
Choose a tag to compare

Added

v0.2.2

26 Aug 19:33
7dc5568
Compare
Choose a tag to compare

Changed

  • fix Display::clear out of bounds pixels
  • remove ST7789 model Bgr bit override

v0.2.1

03 Aug 23:27
888a1a7
Compare
Choose a tag to compare

Added

  • clarified display model constructor usage in README

Changed

  • fix i32 -> u16 conversion overflow bug in batch module in case of negative coordinates

v0.2.0

13 Apr 04:37
58fdd6a
Compare
Choose a tag to compare

Changed

  • fix RGB/BGR color issue on some models
  • expand Orientation to use mirror image settings properly
  • change Display::init to include DisplayOptions and allow setting all MADCTL values on init, including Orientation
  • fix issues #6, #8 and #10

v0.1.0

09 Sep 17:52
0fce87b
Compare
Choose a tag to compare

Initial release