From 959bdd55b7abfea7b1ef6db1a36ae548a16f6f28 Mon Sep 17 00:00:00 2001 From: matiasus Date: Sat, 10 Dec 2022 00:38:54 +0100 Subject: [PATCH] Version v3.0.0 --- README.md | 13 ++++++------- lib/ssd1306.h | 10 ---------- 2 files changed, 6 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 9790fc0..721b0df 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ C library is aimed for driving [0.96" OLED display with SSD1306 driver](#demonst - Added new function -> [SSD1306_DrawLine (uint8_t, uint8_t, uint8_t, uint8_t)](#ssd1306_drawline). Possible depicted any line (horizontal, vertical, with slope). - Possible to use for more than 1 display (not tested, cause displays that I have avialable had the same addresses). - **!!!** ~1kB RAM memory consumption. -- 3.0 - simplified version +- 3.0 - simplified alphanumeric version - less RAM consumption - used for displaying alphanumeric characters - **!!!** no graphics functions @@ -119,13 +119,11 @@ Init sequence OLED display was defined according to page 64 (next to last page) ## Functions - [SSD1306_Init (uint8_t)](#ssd1306_init) - Init display - [SSD1306_ClearScreen (void)](#ssd1306_clearscreen) - Clear screen -- [SSD1306_NormalScreen (uint8_t)](#ssd1306_normalscreen) - Normal screen -- [SSD1306_InverseScreen (uint8_t)](#ssd1306_inversescreen) - Inverse screen +- [SSD1306_NormalScreen (void)](#ssd1306_normalscreen) - Normal screen +- [SSD1306_InverseScreen (void)](#ssd1306_inversescreen) - Inverse screen - [SSD1306_SetPosition (uint8_t, uint8_t)](#ssd1306_setposition) - Set position -- [SSD1306_DrawChar (char)](#ssd1306_drawchar) - Draw specific character -- [SSD1306_DrawString (char*)](#ssd1306_drawstring) - Draw specific string -- [SSD1306_UpdateScreen (uint8_t)](#ssd1306_updatescreen) - Update content on display -- [SSD1306_DrawLine (uint8_t, uint8_t, uint8_t, uint8_t)](#ssd1306_drawline) - Draw line +- [SSD1306_DrawChar (char, enum E_Font)](#ssd1306_drawchar) - Draw specific character (bold | underline | normal) +- [SSD1306_DrawString (char*, enum E_Font)](#ssd1306_drawstring) - Draw specific string (bold | underline | normal) ## Demonstration @@ -133,3 +131,4 @@ Init sequence OLED display was defined according to page 64 (next to last page) ## Links - [Datasheet SSD1306](https://cdn-shop.adafruit.com/datasheets/SSD1306.pdf) - [Atmega328](https://ww1.microchip.com/downloads/en/DeviceDoc/ATmega48A-PA-88A-PA-168A-PA-328-P-DS-DS40002061B.pdf) + diff --git a/lib/ssd1306.h b/lib/ssd1306.h index 46e67c7..d45718a 100644 --- a/lib/ssd1306.h +++ b/lib/ssd1306.h @@ -194,16 +194,6 @@ */ uint8_t SSD1306_DrawChar (char, enum E_Font); - /** - * @desc SSD1306 Draw character big - * - * @param char - * @param enum E_Font - * - * @return uint8_t - */ - uint8_t SSD1306_DrawCharBig (char); - /** * @desc SSD1306 Draw string *