An open API service indexing awesome lists of open source software.

https://github.com/initerworker/gc9a01

GC9A01 Display Driver
https://github.com/initerworker/gc9a01

driver gc9a01 rust

Last synced: about 1 year ago
JSON representation

GC9A01 Display Driver

Awesome Lists containing this project

README

          

# GC9A01


Github CI/CD
Crates.io
Docs.rs

Gc9a01-rs

Rust implementation SPI 4-wire driver for the Gc9a01 display driver with a generic interface for display drivers and embedded-hal v1.0.0 support.

## GC9A01 Display Driver

This crate provides a driver interface to the GC9A01 LCD display driver. It
supports SPI via the [`display_interface`](https://docs.rs/display_interface) crate.

The main driver is created using [`Gc9a01::new`] which accepts an interface instance, display,
size, rotation and mode. The following display modes are supported:

- [`BasicMode`] - A simple mode with lower level methods available.
- [`BufferedGraphics`] - A framebuffered mode with additional methods and integration with
[embedded-graphics](https://docs.rs/embedded-graphics).

### Support

- [Embedded-graphics 2D graphics library](https://github.com/embedded-graphics/embedded-graphics)
- [Generic Interface for Display Drivers](https://github.com/therealprof/display-interface)
- [Embedded-hal v1.0.0](https://github.com/rust-embedded/embedded-hal/tree/embedded-hal-v1.0.0)

### Example

- [Waveshare esp32-s3-touch-lcd-1-28](https://github.com/IniterWorker/esp32-s3-touch-lcd-1-28)

### Hardware

- [1.28 inch TFT LCD Display Module Round RGB 240*240 GC9A01 Driver 4 Wire SPI](https://www.aliexpress.com/item/1005001382069930.html)

## Inspiration

- From [jamwaffles/ssd1306](https://github.com/jamwaffles/ssd1306)

## License

Licensed under either of

- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or
http://www.apache.org/licenses/LICENSE-2.0)
- MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)

at your option.

### Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the
work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any
additional terms or conditions.