Skip to content

Arduino library to control HX1230 / STE2007 96x68 LCD displays

Notifications You must be signed in to change notification settings

hghile/bb_hx1230

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bb_hx1230 (BitBank HX1230 LCD library)
Project started 4/30/2018
Copyright (c) 2018-2019 BitBank Software, Inc.
Written by Larry Bank
bitbank@pobox.com

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

About

Arduino library to control HX1230 / STE2007 96x68 LCD displays

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 96.5%
  • C 3.5%