GithubHelp home page GithubHelp logo

skywalkerf34 / bb_spi_lcd Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bitbank2/bb_spi_lcd

0.0 0.0 0.0 2.73 MB

SPI LCD/OLED library which can be built for Arduino and Linux

License: GNU General Public License v3.0

C++ 96.81% C 3.05% Makefile 0.14%

bb_spi_lcd's Introduction

bb_spi_lcd (BitBank SPI Color LCD/OLED library)
Project started 5/15/2017
Copyright (c) 2017-2019 BitBank Software, Inc.
Written by Larry Bank
[email protected]

bb_spi_lcd
The purpose of this code is to easily control color OLED/LCD displays with a rich set of functions. The code can be built as both an Arduino and Linux library. For Arduino, there are a wide variety of target platforms and some don't have enough RAM to support every feature. Specifically, AVR (Uno/Nano/Mega) don't have enough RAM to have a back buffer. Without the back buffer, only text, pixel, rectangle and line drawing are possible. With a back buffer, a host of other functions become available such as ellipses, translucent/transparent rotating bitmaps, and transparent text.

Features:
---------

  • Supports the most popular display controllers (SSD1351, ST7735, ST7789, ILI9225, ILI9341, ILI9342, HX8357, ILI9468)
  • 5 built in font sizes (6x8, 8x8, 12x16, 16x16, 16x32)
  • Supports display modes: 0/90/180/270 degree rotated, inverted, BGR or RGB color order
  • Direct display drawing, backbuffer (RAM) drawing or both simultaneously
  • Display object structure (SPILCD) allows multiple simultaenous displays of different types to be controlled by a single MCU
  • Bit Bang option allows controlling SPI displays on any GPIO pins
  • Communication callback functions allows controlling parallel and custom connected displays
  • DMA on SAMD21, SAMD51 and ESP32 targets
  • Compiles on Arduino and Linux (e.g. Raspberry Pi)
  • Optimized primitives for text, lines, rectangles, ellipses and bitmap drawing
  • Fast (50x) drawing of Adafruit format custom fonts with optional blanking mode to erase old data without flickering
  • 50% scaled drawing of Adafruit_GFX fonts with antialiasing
  • Load and display 4, 8 and 16-bit Windows BMP files (including RLE)
  • Deferred rendering allows quickly preparing a back buffer, then displaying it
  • Callbacks allow working with non-SPI displays (e.g. 8/16-bit parallel)

If you find this code useful, please consider sending a donation to support my work

paypal

bb_spi_lcd's People

Contributors

bitbank2 avatar cyberman54 avatar taraholeinit 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.