-
Notifications
You must be signed in to change notification settings - Fork 11
/
panel.h
24 lines (22 loc) · 834 Bytes
/
panel.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef PANEL_H
#define PANEL_H
//-----------------------------------------------------------------------------
#define _MSB 0
#define _LSB 1
#define _RGB 0
#define _BGR 1
//-----------------------------------------------------------------------------
// known LCD panels
#define TM060RDH01 1
//-----------------------------------------------------------------------------
#include "config.h"
//-----------------------------------------------------------------------------
#if(LCD_MODEL == TM060RDH01)
#include "panels/TM060RDH01.h"
// #elif(LCD_MODEL == ABCD)
// #include "panels/ABCD.h"
#else
#error LCD_MODEL is not supported or was not defined. Check config.h file
#endif
//-----------------------------------------------------------------------------
#endif