Giter Site home page Giter Site logo

ssd1322's Introduction

SSD1322 OLED display driver

Newhaven OLED display showing Ferris and the Rust logo

Pure Rust driver for the SSD1322 OLED display chip, for use with embedded-hal.

Description

This driver is intended to work on embedded platforms using the embedded-hal trait library. It is no_std, contains no added unsafe, and does not require an allocator. The initial release supports the 4-wire SPI interface.

Because the SSD1322 supports displays as large as 480x128 @ 4bpp, the primary API uses a Region abstraction to allow writing a stream of pixel data from an iterator onto a rectangular sub-region of the display area. This avoids the requirement to buffer the entire display RAM in the host, since such a buffer would consume a colossal (for a μC) 30kiB of RAM.

Missing features:

  • embedded-graphics Drawing support.
  • Parallel interface support.
  • Chip select and bus sharing (assumes /CS is tied low).
  • Text mode and/or fonts.

Acknowledgements

jamwaffles/ssd1306 for internal design inspiration. japaric/embedded-hal for making dealing with embedded hardware easy, safe, and enjoyable.

License

Licensed under either of

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.

ssd1322's People

Contributors

edarc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.