Code Monkey home page Code Monkey logo

bb_hx1230's Introduction

bb_hx1230 (BitBank HX1230 LCD library)
Project started 4/30/2018
Copyright (c) 2018-2019 BitBank Software, Inc.
Written by Larry Bank
[email protected]

bb_hx1230
The purpose of this code is to easily control HX1230 / STE2007 LCD displays using a minimum of FLASH and RAM. The code assumes the display is connected via a 3-wire SPI interface. Since the hardware SPI doesn't support 3-wire, 9-bit mode, the data must be bit-banged on GPIO lines. The general case uses the wire library to bit bang the protocol. The default wire library is somewhat slow because of it's bounds checking. On ATtiny85 MCUs, I added a special case to directly access the I/O ports since there is only one data port (PORTB). If speed is an issue more than code size, my FastIO library can be used to speed up bit banging on all AVR MCUs.

Features:
---------

  • Drives the display from any 2 GPIO pins (clock + data) and optional RESET/CE/Backlight
  • 4 sizes of fixed fonts (6x8, 8x8, 16x16, 16x32)
  • a function to load a 96x68 Windows BMP file
  • Optional backing RAM for drawing pixels for systems with enough RAM
  • Light enough to run on an ATtiny85

If you find this code useful, please consider buying me a cup of coffee

paypal

bb_hx1230's People

Contributors

bitbank2 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.