Skip to content

Commit

Permalink
Initial version of SSD1306 display driver is committed
Browse files Browse the repository at this point in the history
  • Loading branch information
lexus2k committed Jun 3, 2017
1 parent 1708464 commit 0f0ab3f
Show file tree
Hide file tree
Showing 18 changed files with 3,713 additions and 3 deletions.
6 changes: 3 additions & 3 deletions LICENSE
Expand Up @@ -631,8 +631,8 @@ to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

{one line to give the program's name and a brief idea of what it does.}
Copyright (C) {year} {name of author}
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand All @@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:

{project} Copyright (C) {year} {fullname}
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
Expand Down
52 changes: 52 additions & 0 deletions README.md
@@ -0,0 +1,52 @@
= SSD1306 Driver for ATTiny controllers =

SSD1306 is library intended to work with SSD1306 I2C OLED
Displays. First of all, it is developed for ATTiny controllers
to use as few resources as possible, because of limitation
to SRAM (512 bytes) and Flash (8K). Since ATTiny controller
has no division and multiply operations, the library has
some limited functionaly. But it is still can be used to
develop simple graphics applications.

Key Features:

* Low level I2C OLED Driver functions (ssd1306_i2c.h)
* High level I2C OLED Driver functions (ssd1306.h)
* Some memory-buffered operations (nano_gfx.h)
* Third-party font (6x8)
* Some functions are:
** Filling display with pattern data
** Printing text to display
** Drawing bitmap image from SRAM memory
** Drawing bitmap image from Flash memory (PROGMEM related)
** Sprites: moving
** Drawing lines in buffer

For Attiny controllers OLED display must be connected to
PB3 (SCL) and PB4 (SDA) lines. For other controllers connections
are programmed to A5 (SCL) and A4 (SDA) lines. The pins
can be modified in ssd1306_pins.h file.

For more information about this library please visit
https://github.com/lexus2k/ssd1306.
If you found any problem, please report to Issues section.

== License ==

Copyright (C) 2016-2017 Alexey Dynda

This file is part of SSD1306 Library.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

0 comments on commit 0f0ab3f

Please sign in to comment.