- Name : ERM19264_UC1609_T
- Title : Library for ERM19264-5 v3 LCD (UC1609C controller) for the Arduino eco-system
- Description :
- Arduino library.
- Inverse, rotate and contrast control.
- ASCII text strings and character text display.
- Sleep mode.
- light weight text only
- custom bitmaps supported.
- Tested with software and hardware SPI.
-
Author: Gavin Lyons
-
Arduino IDE: 1.8.10
-
This is a truncated light weight text only version of the main library here at link ,which includes full graphic support ERM19264_UC1609. Lots more info and documentation there. There is also PIC XC8 ports available here at link.
Output Screenshot showing ASCII font 0-127 (note the font file needs a small mod to display the first 30 characters. see features below.)
Unlike the main version, this library is not included in the official Arduino library manager. Please install manually by downloading and placing in your arduino library folder.
Installing Additional Arduino Libraries guide
See main library here at link
SPI
Hardware and software SPI. Two different class constructors. User can pick the relevant constructor, see examples files. Hardware SPI is much faster but Software SPI allows for more flexible GPIO. selection and easy to port to other MCU's. When running Software SPI it may be necessary on very high frequency MCU to change the UC1609_HIGHFREQ_DELAY define, It is a microsecond delay by default it is at 0.
text and fonts
Text only, no buffer or no graphics , relatively light weight. A "hello world" Sketch uses 2172 bytes (6%) of and uses 42 bytes (2%) of dynamic memory on UNO. Turns LCD into simple character LCD(216 characters, 8 rows/pages)
The font is be truncated by two defines to save memory space. To include the characters cut out by these defines , simply comment them in.
- UC_FONT_MOD_ONE , cuts out first 30 characters
- UC_FONT_MOD_TWO cuts out everything after 127 characters, extended ASCII.
The font is a standard 5 by 7 ASCII font with two columns of padding added. So 7 by 8 in effect. In standard text size and No buffer mode this means 192/7 * 64/8 = 27 * 8 = 216 characters.
bitmaps
Bitmaps can still be written directly to screen. Bitmaps can be turned to data here at link use vertical addressing draw mode.