Skip to content

crystalfontz/cfag4265a0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CFAG4265A0-TFK

This is Arduino (Seeeduino) sample code is for the CFAG4265A0-TFK. This display includes the ST7565R LCD controller.

This display is also available as on a breakout board that handles the backlight driving or as a fully built Seeeduino kit.

This code expects that you are using our breakout board or an equivalent. The ST7565P files set up functions and variables for communicating with the display controller on the display. The LTC2630 files set up functions and variables for communicating with the DAC on the breakout board for controlling the backlight.

Connections

//=============================================================================
// LCD SPI & control lines
//-----------------------------------------------------------------------------
//   ARD      | Port | LCD                      | Wire Color
// -----------+------+--------------------------+-----------
//  #8/D8     |  PB0 | LCD_A0                   | Green
//  #9/D9     |  PB1 | LCD_CS                   | Purple
// #10/D10    |  PB2 | DAC_CS   (backlight)     | Red
// #11/D11    |  PB3 | HW_MOSI  (hardware SPI)  | Orange
// #12/D12    |  PB4 | LCD_RST  (hardware Reset)| Blue
// #13/D13    |  PB5 | HW_SCK   (hardware SPI)  | Yellow

Assembly