Mikroelektronika MIKROE-724 データシート
546
mikoBasic PRO for dsPIC30/33 and PIC24
MikroElektronika
SPI T6963C Graphic Lcd Library
The mikroBasic PRO for dsPIC30/33 and PIC24 provides a library for working with Glcds based on TOSHIBA T6963C
controller via SPI interface. The Toshiba T6963C is a very popular Lcd controller for the use in small graphics modules.
It is capable of controlling displays with a resolution up to 240x128. Because of its low power and small outline it is
most suitable for mobile applications such as PDAs, MP3 players or mobile measurement equipment. Although this
controller is small, it has a capability of displaying and merging text and graphics and it manages all interfacing signals
to the displays Row and Column drivers.
For creating a custom set of Glcd images use Glcd Bitmap Editor Tool.
Important:
- When using this library with dsPIC33 and PIC24 family MCUs be aware of their voltage incompatibility with certain
number of T6963C based Glcd modules. So, additional external power supply for these modules may be required.
- Glcd size based initialization routines can be found in setup library files located in the Uses folder.
- The user must make sure that used MCU has appropriate ports and pins. If this is not the case the user should
adjust initialization routines.
- The library uses the SPI module for communication. The user must initialize the appropriate SPI module before
using the SPI T6963C Glcd Library.
- For MCUs with multiple SPI modules it is possible to initialize both of them and then switch by using the
SPI_Set_
Active()
routine. See the SPI Library functions.
- This Library is designed to work with mikroElektronika’s Serial Glcd 240x128 and 240x64 Adapter Boards pinout,
see schematic at the bottom of this page for details.
- To use constants located in
__Lib_SPIT6963C_Const.mbas
file, user must include it the source file:
include
__Lib_SPIT6963C_Const
.
Some mikroElektronika’s adapter boards have pinout different from T6369C datasheets. Appropriate relations between
these labels are given in the table below:
Adapter Board
T6369C datasheet
RS
C/D
R/W
/RD
E
/WR
Library Dependency Tree
External dependencies of SPI T6963C Graphic Lcd Library
The implementation of SPI T6963C Graphic Lcd Library routines is based on Port Expander Library routines.
External dependencies are the same as Port Expander Library external dependencies.