cbm80amiga / Arduino_ILI9163C_STM

Fast STM32 SPI/DMA library for the ILI9163C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Arduino_ILI9163C_STM

Fast STM32 SPI/DMA library for the ILI9163C 1.44" 128x128 LCD

YouTube video (AVR Arduino): https://youtu.be/V1KBm99Qagw

Significantly optimized for STM32 boards. Supports 36MHz SPI and DMA channel

Configuration

Use "#define COMPATIBILITY_MODE" - then the library doesn't use DMA

Use "#define CS_ALWAYS_LOW" for LCD boards where CS pin is internally connected to the ground, it gives better performance

"#define 144_BLACK_PCB" for "black" PCB version

"#define 144_RED_PCB" for "red" PCB version

Extra Features

  • invertDisplay()
  • sleepDisplay()
  • enableDisplay()
  • idleDisplay() - saves power by limiting colors to 3 bit mode (8 colors)
  • resetDisplay() - software reset
  • partialDisplay() and setPartArea() - limiting display area for power saving
  • setScrollArea() and setScroll() - smooth vertical scrolling
  • fast drawImage() from RAM
  • fast drawImageF() from flash (PROGMEM)

Connections (header on top):

LCD pin LCD pin name Arduino
#01 LED 3.3V
#02 SCK PA5/SCK
#03 SCA PA7/MOSI
#04 A0/DC PA1 or any digital
#05 RESET PA0 or any digital
#06 CS PA2 or any digital
#07 GND GND
#08 VCC 3.3V

If you find it useful and want to buy me a coffee or a beer:

https://www.paypal.me/cbm80amiga

About

Fast STM32 SPI/DMA library for the ILI9163C

License:GNU Lesser General Public License v3.0


Languages

Language:C++ 100.0%