Code Monkey home page Code Monkey logo

adafruit_ssd1325_library's Introduction

Adafruit SSD1325 Library Build StatusDocumentation

This is a library for our Monochrome/Grayscale OLEDs based on SSD1325 drivers

Pick one up today in the adafruit shop! ------>

These displays use SPI to communicate, 4 or 5 pins are required to
interface

Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!

Written by Limor Fried/Ladyada for Adafruit Industries.
BSD license, check license.txt for more information All text above must be included in any redistribution

To download. click the DOWNLOADS button in the top right corner, rename the uncompressed folder Adafruit_SSD1325. Check that the Adafruit_SSD1325 folder contains Adafruit_SSD1325.cpp and Adafruit_SSD1325.h

Place the Adafruit_SSD1325 library folder your /libraries/ folder. You may need to create the libraries subfolder if its your first library. Restart the IDE.

You will also have to download the Adafruit GFX Graphics core which does all the circles, text, rectangles, etc. You can get it from https://github.com/adafruit/Adafruit-GFX-Library and download/install that library as well

adafruit_ssd1325_library's People

Contributors

driverblock avatar evaherrada avatar ladyada avatar paintyourdragon avatar tdicola avatar tyeth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

adafruit_ssd1325_library's Issues

Cannot change resolution to 102x80

Hi.

Even if I change all value from 128x64 to 102x80 (SSD1325.h and SSD1325.ccp) in display(void) etc. there's a broken output on display.

What I changed:

SSD1325.ccp:

for (uint16_t x=0; x<102; x+=2) {
    for (uint16_t y=0; y<80; y+=8) { /

SSD1325.h:

  #define SSD1325_LCDWIDTH                  102
  #define SSD1325_LCDHEIGHT                 80

Adafruit_GFX(102,80)

What must I change to get a right output?

Error compiling library example when using RP2040

  • Arduino board: Adafruit Feather RP2040 RFM69

  • Arduino IDE version: 2.1.0

  • List the steps to reproduce the problem below (if possible attach a sketch or
    copy the sketch code in too): Error when compiling the library's example file (ssd1325test.ino).

  116 | static inline unsigned char pgm_read_byte(const void *addr) {
      |                             ^~~~~~~~~~~~~

exit status 1

Compilation error: exit status 1

There's no error when I use the same code/IDE with an Adafruit Feather M0 RFM69.
I need this to work because I am working on a device that needs the RP2040 board and has a tight deadline.
Can someone please advise me what to do?
Thank you.

Change of resolution: u_int error

Hi.

If I change the resolution in Adafruit_SSD1325.h file from
`#if defined SSD1325_128_64
#define SSD1325_LCDWIDTH 128
#define SSD1325_LCDHEIGHT 64

endif`

to

`#if defined SSD1325_128_64
#define SSD1325_LCDWIDTH 102
#define SSD1325_LCDHEIGHT 80

endif`

I get this error message:

/arduino-1.6.11/libraries/Adafruit_SSD1325_Library/Adafruit_SSD1325.cpp:110:1: error: too many initializers for 'uint8_t [1020] {aka unsigned char [1020]}'
};
^
exit status 1
Fehler beim Kompilieren für das Board Arduino/Genuino Uno.

This is strange. The pixel number is less than the original number. 8160 instead of 192.

Uhm. What must I do to get rid of this error? Thank you.

bump version number?

have Arduino IDE and this library version "1.0.0" installed via Library Manager.

up-to-date version here has definition for adagfx_swap() but the version obtained with Library Manager has no definition for AdaGFX_swap()

workaround: download zip from here to update library

possible solution: bump version to 1.0.1 to prompt fresh library download and reinstallation

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.