ERM19264_UC1609  1.8.0
Arduino Eco-system Library for ERM19264 LCD driven by UC1609 controller.
Macros | Functions | Variables
ERM19264_UC1609_TEXT.ino File Reference

Example file for ERM19264_UC1609 library, showing use of Text and Fonts. More...

#include "ERM19264_UC1609.h"

Macros

#define CD   10
 
#define RST   9
 
#define CS   8
 
#define LCDCONTRAST   0x49
 
#define LCDRAMADDRCTRL   0x02
 
#define MYLCDHEIGHT   64
 
#define MYLCDWIDTH   192
 
#define FULLSCREEN   (MYLCDWIDTH * (MYLCDHEIGHT / 8))
 
#define DISPLAY_DELAY_ONE   5000
 
#define DISPLAY_DELAY_TWO   0
 
#define MYCOUNT_UPTIME   250
 

Functions

void setup ()
 
void loop ()
 
void DisplayText ()
 
void DisplayFonts ()
 
void DisplayFontsTwo (void)
 
void ErrorChecking (void)
 
void TestReset (void)
 

Variables

uint8_t screenBuffer [FULLSCREEN]
 
ERM19264_UC1609 mylcd (MYLCDWIDTH, MYLCDHEIGHT, CD, RST, CS)
 
ERM19264_UC1609_Screen fullScreen (screenBuffer, MYLCDWIDTH, MYLCDHEIGHT, 0, 0)
 

Detailed Description

Example file for ERM19264_UC1609 library, showing use of Text and Fonts.

Author
Gavin Lyons
  1. GPIO is for arduino UNO for other tested MCU see readme.
  2. This is for hardware SPI for software SPI see ERM19264_UC1609_SWSPI.ino example.
    1. In order for tests 9-15 to work fully: the respective font must be enabled, see USER FONT OPTION ONE in file <ERM19264_graphics_font.h>. If font NOT enabled NOTHING will appear during test on LCD screen.
  3. URL = https://github.com/gavinlyonsrepo/ERM19264_UC1609
Test:
  1. 1 Test1 font size 3 string
  2. 2 Test2 font size 2 string
  3. 3 Test3 font size 1 string inverted
  4. 4 Test4 draw a single character font size 4, 4B drawtext method
  5. 5 Test5 print ASCII font 0-127
  6. 6 Test6 text wrap print and drawtext
  7. 7 Test7 print function integer
  8. 8 Test8 print function float + numerical types (HEX BIN etc)
  9. 9 Test9 "thick" font 2
  10. 10 Test10 "seven segment" font 3
  11. 11 Test11 "wide " font 4
  12. 12 Test12 "tiny" font 5
  13. 13 Test13 "homespun" font 6
  14. 14 Test14 "bignum" font 7
  15. 15 Test15 "mednums" font 8
  16. 16 Test16 "Arial Round" font 9
  17. 17 Test17 "Arial bold" font 10
  18. 18 Test18 "Mia" font 11
  19. 19 Test19 "dedica" font 12
  20. 20 Test20 Error checking