Example file for ERM19264_UC1609 library, showing use of Text and Fonts.
More...
|
#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 |
|
|
void | setup () |
|
void | loop () |
|
void | DisplayText () |
|
void | DisplayFonts () |
|
void | DisplayFontsTwo (void) |
|
void | ErrorChecking (void) |
|
void | TestReset (void) |
|
Example file for ERM19264_UC1609 library, showing use of Text and Fonts.
- Author
- Gavin Lyons
- GPIO is for arduino UNO for other tested MCU see readme.
- This is for hardware SPI for software SPI see ERM19264_UC1609_SWSPI.ino example.
- 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.
- URL = https://github.com/gavinlyonsrepo/ERM19264_UC1609
- Test:
- 1 Test1 font size 3 string
- 2 Test2 font size 2 string
- 3 Test3 font size 1 string inverted
- 4 Test4 draw a single character font size 4, 4B drawtext method
- 5 Test5 print ASCII font 0-127
- 6 Test6 text wrap print and drawtext
- 7 Test7 print function integer
- 8 Test8 print function float + numerical types (HEX BIN etc)
- 9 Test9 "thick" font 2
- 10 Test10 "seven segment" font 3
- 11 Test11 "wide " font 4
- 12 Test12 "tiny" font 5
- 13 Test13 "homespun" font 6
- 14 Test14 "bignum" font 7
- 15 Test15 "mednums" font 8
- 16 Test16 "Arial Round" font 9
- 17 Test17 "Arial bold" font 10
- 18 Test18 "Mia" font 11
- 19 Test19 "dedica" font 12
- 20 Test20 Error checking