SSD1306 Library  1.0.0
Library for SSD1306 OLed Driver based on libohiboard
ssd1306type.h
Go to the documentation of this file.
1 /*
2  * SSD1306 - Library for SSD1306 OLed Driver based on libohiboard
3  * Copyright (C) 2017-2019 Marco Giammarini
4  *
5  * Authors:
6  * Marco Giammarini <m.giammarini@warcomeb.it>
7  *
8  * Permission is hereby granted, free of charge, to any person obtaining a copy
9  * of this software and associated documentation files (the "Software"), to deal
10  * in the Software without restriction, including without limitation the rights
11  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12  * copies of the Software, and to permit persons to whom the Software is
13  * furnished to do so, subject to the following conditions:
14  *
15  * The above copyright notice and this permission notice shall be included in
16  * all copies or substantial portions of the Software.
17  *
18  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24  * THE SOFTWARE.
25  *
26  */
27 
28 #ifndef __WARCOMEB_SSD1306_TYPE_H
29 #define __WARCOMEB_SSD1306_TYPE_H
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
35 #include "../GDL/gdltype.h"
36 
46 typedef enum _SSD1306_Color_t
47 {
51 
56 #define SSD1306_PRODUCT_ADAFRUIT_931 (0x0001 | GDL_MODELTYPE_SSD1306)
57 #define SSD1306_PRODUCT_SEEEDSTUDIO_OLED_1_1 (0x0002 | GDL_MODELTYPE_SSD1306)
58 
66 #ifdef __cplusplus
67 }
68 #endif
69 
70 #endif // __WARCOMEB_SSD1306_TYPE_H
SSD1306_COLOR_BLACK
Definition: ssd1306type.h:48
_SSD1306_Color_t
_SSD1306_Color_t
Definition: ssd1306type.h:46
SSD1306_COLOR_COLOR
Definition: ssd1306type.h:49
SSD1306_Color_t
enum _SSD1306_Color_t SSD1306_Color_t