Skip to content
Snippets Groups Projects
Commit b6857d34 authored by Fabrice Weinberg's avatar Fabrice Weinberg
Browse files

Convert tabs to spaces

parent 2d1ddf15
No related branches found
No related tags found
No related merge requests found
......@@ -101,7 +101,7 @@ enum SSD1306_TEXT_ALIGNMENT {
TEXT_ALIGN_LEFT = 0,
TEXT_ALIGN_RIGHT = 1,
TEXT_ALIGN_CENTER = 2,
TEXT_ALIGN_CENTER_BOTH = 3
TEXT_ALIGN_CENTER_BOTH = 3
};
class SSD1306 {
......@@ -111,16 +111,16 @@ class SSD1306 {
uint8_t sda;
uint8_t sdc;
uint8_t *buffer;
uint8_t *buffer;
#ifdef SSD1306_DOUBLE_BUFFER
uint8_t *buffer_back;
uint8_t *buffer_back;
#endif
SSD1306_TEXT_ALIGNMENT textAlignment = TEXT_ALIGN_LEFT;
SSD1306_COLOR color = WHITE;
SSD1306_TEXT_ALIGNMENT textAlignment = TEXT_ALIGN_LEFT;
SSD1306_COLOR color = WHITE;
const char *fontData = ArialMT_Plain_10;
const char *fontData = ArialMT_Plain_10;
// Send a command to the display (low level function)
void sendCommand(unsigned char com);
......
......@@ -192,9 +192,9 @@ class SSD1306Ui {
/**
* Draw the indicator.
* This is the defaut state for all frames if
* the indicator was hidden on the previous frame
* it will be slided in.
* This is the defaut state for all frames if
* the indicator was hidden on the previous frame
* it will be slided in.
*/
void enableIndicator();
......@@ -247,17 +247,22 @@ class SSD1306Ui {
// Loading animation
/**
* Set the function that will draw each step
* in the loading animation
*/
/**
* Set the function that will draw each step
* in the loading animation
*/
void setLoadingDrawFunction(LoadingDrawFunction stage);
/**
* Run the loading process
*/
void runLoadingProcess(LoadingStage* stages, uint8_t stagesCount);
// Manuell Controll
void nextFrame();
void previousFrame();
void nextFrame();
void previousFrame();
// State Info
SSD1306UiState* getUiState();
......
{
"name": "ESP8266_SSD1306",
"version": "3.0.0",
"version": "3.0.0",
"keywords": "ssd1306, oled, display, i2c",
"description": "A I2C display driver for SSD1306 oled displays connected to an ESP8266",
"repository":
......@@ -8,17 +8,17 @@
"type": "git",
"url": "https://github.com/squix78/esp8266-oled-ssd1306.git"
},
"authors":
[
{
"name": "Daniel Eichhorn",
"email": "squix78@gmail.com"
},
"authors":
[
{
"name": "Daniel Eichhorn",
"email": "squix78@gmail.com"
},
{
"name": "Fabrice Weinberg",
"email": "fabrice@weinberg.me"
}
],
],
"frameworks": "arduino",
"platforms": "espressif"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment