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

Example file for ERM19264_UC1609 library, showing use of software SPI mode only difference for user is the constructor used when you instantiate the object and pin definations. More...

#include <ERM19264_UC1609.h>

Macros

#define CD   10
 
#define RST   9
 
#define CS   8
 
#define SCLK   12
 
#define DIN   11
 
#define LCDCONTRAST   0x49
 
#define LCDRAMADDRCTRL   0x02
 
#define MYLCDHEIGHT   64
 
#define MYLCDWIDTH   192
 
#define FULLSCREEN   (MYLCDWIDTH * (MYLCDHEIGHT/8))
 

Functions

void setup ()
 
void loop ()
 
void DisplayText ()
 

Variables

uint16_t SW_SPI_GPIO_Delay = 0
 
uint8_t screenBuffer [FULLSCREEN]
 
uint8_t fullScreenBuffer [(MYLCDWIDTH *(MYLCDHEIGHT/8))]
 
ERM19264_UC1609 mylcd (MYLCDWIDTH, MYLCDHEIGHT, CD, RST, CS, SCLK, DIN)
 
ERM19264_UC1609_Screen fullScreen (fullScreenBuffer, MYLCDWIDTH, MYLCDHEIGHT, 0, 0)
 
long startTime
 
long elapsedTime
 

Detailed Description

Example file for ERM19264_UC1609 library, showing use of software SPI mode only difference for user is the constructor used when you instantiate the object and pin definations.

Author
Gavin Lyons

https://github.com/gavinlyonsrepo/ERM19264_UC1609

Note
  1. (1) GPIO is for arduino UNO for other tested MCU see readme.
  2. (2) This is for software SPI for hardware SPI see all other examples.
Test:
  1. 601 Software SPI