Coder Social home page Coder Social logo

ai_ardulib_ssd1306's Introduction

Ai_Ardulib_SSD1306

Example code for using the ESP8266 Development Board and an OLED display for visualizing different things on its 128ร—64 pixel screen.

Description

For more details, check out the tutorial page at:

If you like my work, you can help me dedicate more time to building projects, writing code, and making videos about them:

You can also purchase products from my little online shops to help fund future Open-Source projects like these! I'll always put my best effort in every project, and release all my design files and code for you to use.

Installation

Please follow the instructions outlined in the tutorial linked above. The steps describe how to install the library needed for the programs to run properly.

License

Released under the MIT license. Please check LICENSE.txt for more information. All text above must be included in any redistribution.

ai_ardulib_ssd1306's People

Contributors

barbeque avatar datasith avatar jduchniewicz avatar l3nticular avatar lechunlx avatar manamski avatar per1234 avatar prankard avatar stawel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ai_ardulib_ssd1306's Issues

Example displays three lines overlapping?

Hello,

I found your library and wanted to use it as it seems much more efficient than the Adafruit libraries. When I try to run your example HelloOLED.ino, I am seeing the three lines displayed, but they appear to only be 2-3 pixels tall, and overlap each other. So I can see the top pixels of your company name, then the next line covering the rest, then only a few top pixels of the third line.

I'm using a 128x32 OLED display ... is there some other setting that I am missing?

Change Font for 128x64 oled

Hi, I'm using for Nrf51822 but the Font 8x8 and 5x7 is still small, i want to change 10x10 or 20x20, how can i change it ? Please give me a solution. Thanks

HelloOLED Compiling Error

Here is the error message:

In file included from /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/Arduino.h:28:0,
from sketch/HelloOLED.ino.cpp:1:
/Users/XXX/Documents/Arduino/libraries/ACROBOTIC_SSD1306/fonts/font5x7.h:7:19: error: redefinition of 'const uint8_t _n []'
OLEDFONT(font5x7) PROGMEM =
^
In file included from /Users/XXX/Documents/Arduino/libraries/ACROBOTIC_SSD1306/examples/HelloOLED/HelloOLED.ino:21:0:
/Users/XXX/Documents/Arduino/libraries/ACROBOTIC_SSD1306/ACROBOTIC_SSD1306.h:32:72: note: 'const uint8_t _n [762]' previously defined here
#define OLEDFONT(name) static const uint8_t attribute ((progmem))_n[]
^
/Users/XXX/Documents/Arduino/libraries/ACROBOTIC_SSD1306/fonts/font8x8.h:7:1: note: in expansion of macro 'OLEDFONT'
OLEDFONT(font8x8) PROGMEM =
^~~~~~~~
exit status 1
Error compiling for board Arduino Uno.

Particle version

Is there a version of this that will compile for particle ide?

128x32 screen support

I am trying to get this to work on a 128x32 ssd1306 screen. The text makes it to the screen but is not displayed correctly. I'm assuming something in the .cpp file needs to be changed because I changed
#define SSD1306_Max_X 127 #define SSD1306_Max_Y 63
to
#define SSD1306_Max_X 127 #define SSD1306_Max_Y 31 in the .h file and it did the same thing. Any help would be appreciated.

Adafruit_GFX.h: No such file or directory.

C:\Users\zacha\AppData\Local\Temp.arduinoIDE-unsaved20221013-10440-1ajma5n.viks\sketch_nov13a\sketch_nov13a.ino:14:10: fatal error: Adafruit_GFX.h: No such file or directory
#include <Adafruit_GFX.h>
^~~~~~~~~~~~~~~~
compilation terminated.

exit status 1

Compilation error: Adafruit_GFX.h: No such file or directory

Example compilation error


Build options changed, rebuilding all
In file included from /home/andre/Arduino/arduino-1.8.0/hardware/arduino/avr/cores/arduino/Arduino.h:28:0,
                 from sketch/HelloString.ino.cpp:1:
/home/andre/Arduino/projects/libraries/ACROBOTIC_SSD1306/fonts/font5x7.h:7:19: error: redefinition of 'const uint8_t _n []'
 OLEDFONT(font5x7) PROGMEM =
                   ^
In file included from /home/andre/Arduino/projects/libraries/ACROBOTIC_SSD1306/examples/HelloString/HelloString.ino:22:0:
/home/andre/Arduino/projects/libraries/ACROBOTIC_SSD1306/ACROBOTIC_SSD1306.h:32:72: note: 'const uint8_t _n [762]' previously defined here
   #define OLEDFONT(name) static const uint8_t __attribute__ ((progmem))_n[]
                                                                        ^
/home/andre/Arduino/projects/libraries/ACROBOTIC_SSD1306/fonts/font8x8.h:7:1: note: in expansion of macro 'OLEDFONT'
 OLEDFONT(font8x8) PROGMEM =
 ^
/home/andre/Arduino/projects/libraries/ACROBOTIC_SSD1306/examples/HelloString/HelloString.ino: In function 'void setup()':
HelloString:28: error: 'font5x7' was not declared in this scope
   oled.setFont(font5x7);            // Set font type (default 8x8)
                ^
exit status 1
'font5x7' was not declared in this scope

error: default argument given for parameter 2 of 'void ACROBOTIC_SSD1306

Hello,
Trying to test the screen with a simple script and the nodemecu board I get this error in the Arduino Ide

xxxxxxxx\ACROBOTIC_SSD1306.cpp:58:72: error: default argument given for parameter 2 of 'void ACROBOTIC_SSD1306::setFont(const uint8_t*, bool)' [-fpermissive]

void ACROBOTIC_SSD1306::setFont(const uint8_t* font, bool inverse=false)

                                                                    ^

xxxxxxxx\ACROBOTIC_SSD1306.h:120:10: error: after previous specification in 'void ACROBOTIC_SSD1306::setFont(const uint8_t*, bool)' [-fpermissive]

 void setFont(const uint8_t* font, bool inverse=false);

      ^

exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).

Tutorial page security certificate expired

Web sites prove their identity via certificates, which are valid for a set time period. The certificate for learn.acrobotic.com expired on 11/02/2019.
Error code: SEC_ERROR_EXPIRED_CERTIFICATE

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.