V1.1 of the ILI9340 driver for SPI with integrated graphics functions.
Dependents: ILI9340_Driver SDCard_Aitendo_2p2TFT TFT22ok_test_ILI9340_Driver
This driver will drive any display that uses an ILI9340 display controller in SPI mode - such as the adafruits 2.2" 240 x 320 display found here: http://www.adafruit.com/products/1480
All this code has been ported from other peoples hard work - Thanks to All !
Diff: ILI9340_Driver.h
- Revision:
- 1:216d35e347b8
- Parent:
- 0:ea46340642a9
--- a/ILI9340_Driver.h Tue May 27 19:40:20 2014 +0000 +++ b/ILI9340_Driver.h Sun Jun 01 16:52:16 2014 +0000 @@ -1,10 +1,10 @@ /*************************************************************** - ILI9340_Driver v1.0 26.05.14 Ian Weston + ILI9340_Driver v1.1 01.06.14 Ian Weston Driver and integrated graphics library for displays that use the -ILI9340 controller in SPI mode. +ILI9340 controller in SPI mode. Such as the Adafruit 2.2" display. -The code was prted from several sources, the driver section +This code has been ported from several sources. The driver section was completely ported from the Adafruits Arduino source code, and the graphics functions were ported from the Adafruits GFX library and some elements were ported from code by Elmicros seeduio port. @@ -126,6 +126,11 @@ void FillRect(int16_t, int16_t, int16_t, int16_t, uint16_t); void DrawRect(int16_t, int16_t, int16_t, int16_t, uint16_t); void DrawCircle(int16_t, int16_t, int16_t, uint16_t); + void FillCircle(int16_t, int16_t, int16_t, uint16_t); + void FillCircleHelper(int16_t, int16_t, int16_t, uint8_t, int16_t, uint16_t); + void DrawCircleHelper( int16_t, int16_t, int16_t, uint8_t, uint16_t); + void DrawRoundRect(int16_t, int16_t, int16_t, int16_t, int16_t, uint16_t); + void FillRoundRect(int16_t, int16_t, int16_t, int16_t, int16_t, uint16_t); uint16_t Colour565(uint8_t, uint8_t, uint8_t); void DrawAscii(unsigned char, uint16_t, uint16_t, uint16_t, uint16_t);