SSD1306 OLED display driver  1.3.2
This library is developed to control SSD1306 i2c/spi OLED display
lcd_common.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2017 Alexey Dynda
3 
4  This file is part of SSD1306 library.
5 
6  This program is free software: you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation, either version 3 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */
23 #ifndef _LCD_COMMON_H_
24 #define _LCD_COMMON_H_
25 
26 #include <stdint.h>
27 
28 #if defined(ESP8266) || defined(ESP32) || defined(ESP31B)
29  #include <pgmspace.h>
30 #else
31  #include <avr/pgmspace.h>
32 #endif
33 
34 enum
35 {
44 };
45 
47 extern uint8_t s_displayHeight;
48 
50 extern uint8_t s_displayWidth;
51 
53 extern uint8_t g_lcd_type;
54 
55 #endif /* _LCD_COMMON_H_ */
uint8_t g_lcd_type
Definition: ssd1306.cpp:32
uint8_t s_displayHeight
Definition: ssd1306.cpp:30
uint8_t s_displayWidth
Definition: ssd1306.cpp:31