Wrapped version of the ILI9341 graphics library with some MBED tweaks
Dependencies: SDFileSystem SPI_TFT_ILI9341 TFT_fonts
Diff: tft.h
- Revision:
- 0:988d0db2f0b8
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tft.h Thu Feb 05 12:40:05 2015 +0000 @@ -0,0 +1,21 @@ +#ifndef __TFT_H__ +#define __TFT_H__ + +#include "SPI_TFT_ILI9341.h" +#include "SDFileSystem.h" + +class TFT + : public SPI_TFT_ILI9341 +{ +public: + TFT(); + void test(); + +protected: + void init(); + + // the SD-connector is connected to SPI pin 11-13 + SDFileSystem m_cSD; +}; + +#endif // __TFT_H__