COSA
An Object-Oriented Platform for Arduino Programming
ILI9163.hh
Go to the documentation of this file.
1 
21 #ifndef COSA_ILI9163_HH
22 #define COSA_ILI9163_HH
23 
24 #include <GDDRAM.h>
25 
56 class ILI9163 : public GDDRAM {
57 public:
63 #if defined(BOARD_ATTINYX4)
66 #elif defined(BOARD_ATTINYX5)
69 #else
72 #endif
73 
77  static const uint16_t SCREEN_WIDTH = 128;
78  static const uint16_t SCREEN_HEIGHT = 128;
79 
85  virtual uint8_t set_orientation(uint8_t direction);
86 
87 protected:
93  virtual const uint8_t* script()
94  {
95  return (s_script);
96  }
97 
101  static const uint8_t s_script[] PROGMEM;
102 };
103 #endif
static const uint16_t SCREEN_WIDTH
Definition: ILI9163.hh:77
Definition: GDDRAM.hh:31
ILI9163(Board::DigitalPin cs=Board::D10, Board::DigitalPin dc=Board::D9)
Definition: ILI9163.cpp:78
virtual uint8_t set_orientation(uint8_t direction)
Definition: ILI9163.cpp:84
virtual const uint8_t * script()
Definition: ILI9163.hh:93
static const uint16_t SCREEN_HEIGHT
Definition: ILI9163.hh:78
static const uint8_t s_script[]
Definition: ILI9163.hh:101