source: rtos_arduino/trunk/arduino_lib/libraries/TFT/src/TFT.h@ 136

Last change on this file since 136 was 136, checked in by ertl-honda, 8 years ago

ライブラリとOS及びベーシックなサンプルの追加.

File size: 756 bytes
Line 
1
2#ifndef _ARDUINO_TFT_H
3#define _ARDUINO_TFT_H
4
5#include "Arduino.h"
6#include "utility/Adafruit_GFX.h"
7#include "utility/Adafruit_ST7735.h"
8
9/// The Arduino LCD is a ST7735-based device.
10/// By default, it is mounted horizontally.
11/// TFT class follows the convention of other
12/// Arduino library classes by adding a begin() method
13/// to be called in the setup() routine.
14/// @author Enrico Gueli <enrico.gueli@gmail.com>
15class TFT : public Adafruit_ST7735 {
16public:
17 TFT(uint8_t CS, uint8_t RS, uint8_t RST);
18
19 void begin();
20};
21
22/// Esplora boards have hard-wired connections with
23/// the Arduino LCD if mounted on the onboard connector.
24#if ARDUINO_AVR_ESPLORA // are we building for Esplora?
25extern TFT EsploraTFT;
26#endif
27
28#endif // _ARDUINO_TFT_H
Note: See TracBrowser for help on using the repository browser.