205 |
205 |
206 int contrast; |
206 int contrast; |
207 |
207 |
208 protected: |
208 protected: |
209 |
209 |
210 mbed::SPI _spi; |
|
211 DigitalOut _CS; |
|
212 DigitalOut _RST; |
|
213 DigitalOut _DC; |
|
214 volatile DISPLAY_BUFFER_TYPE _pixelBuffer[DISPLAY_BUFFER_ELEMENTS]; // one full frame buffer |
|
215 DISPLAY_BUFFER_TYPE _trBuffer[DISPLAY_BUFFER_ELEMENTS]; // for sending |
|
216 |
|
217 const int screensize_X; |
210 const int screensize_X; |
218 const int screensize_Y; |
211 const int screensize_Y; |
219 const int _PAGES; |
212 const int _PAGES; |
220 const int _BPP; |
213 const int _BPP; |
221 const int _IC_X_SEGS; |
214 const int _IC_X_SEGS; |
222 const int _IC_Y_COMS; |
215 const int _IC_Y_COMS; |
223 const int _IC_PAGES; |
216 const int _IC_PAGES; |
|
217 |
|
218 mbed::SPI _spi; |
|
219 DigitalOut _DC; |
|
220 DigitalOut _CS; |
|
221 DigitalOut _RST; |
|
222 volatile DISPLAY_BUFFER_TYPE _pixelBuffer[DISPLAY_BUFFER_ELEMENTS]; // one full frame buffer |
|
223 DISPLAY_BUFFER_TYPE _trBuffer[DISPLAY_BUFFER_ELEMENTS]; // for sending |
224 |
224 |
225 // pixel location |
225 // pixel location |
226 int cur_x; |
226 int cur_x; |
227 int cur_y; |
227 int cur_y; |
228 // window location |
228 // window location |