New Adafruit generic OLED display driver for Raspberry PI



  • oh yes, a lowercase l (L) seems to work, and no -L is required as it seems, and now it also runs started out of different folders, thank you!

    • Tim


  • now I just have to figure out how to start oled type 6 out of the source code without either command line parameters, just screen-out to this static oled type... will see, thanks again!



  • ps, in the source code I also exchanged
    #include "ArduiPi_OLED_lib.h"
    #include "Adafruit_GFX.h"
    #include "ArduiPi_OLED.h"
    by
    #include <ArduiPi_OLED_lib.h>
    #include <Adafruit_GFX.h>
    #include <ArduiPi_OLED.h>



  • no, I don't get it: how to call
    display.init()
    in order to force oled 6 (i2c) without using any commandline parametes?



  • think I got it:

    // Oled supported display in ArduiPi_SSD1306.h
    // Get OLED type
    //parse_args(argc, argv);

    /* 
    // SPI
    if (display.oled_is_spi_proto(opts.oled))
    {
    	// SPI change parameters to fit to your LCD
    	if ( !display.init(OLED_SPI_DC,OLED_SPI_RESET,OLED_SPI_CS, opts.oled) )
    		exit(EXIT_FAILURE);
    }
    else	
    */
    
    {
    	// I2C change parameters to fit to your LCD
    	if ( !display.init(OLED_I2C_RESET, 6) )
    		exit(EXIT_FAILURE);
    }
    display.begin();


  • Any solution for the problem that the screen is freezing?
    The display is working fine with the Python script we found here so that can't be the problem. The Raspberry Pi is a Raspberry Pi 3.

    Thank you for your support.



  • hello,
    if I am using your lib in my own programs I always need sudo to start them.
    How can I make them executable by every user (e.g., standard user pi) ?



  • Hi Charles,

    I am looking to use a 128x96 16-bit color OLED for my project using the SSD1351 controller. Could you help me understand

    1. What changes would be needed to your 1306 driver to make it work for the SSD1351
    2. Would you have some kind of reference code for that ?
    3. How would the wiring look like ?

    Whatever help/direction you could offer would be much appreciated. I was thinking of trying out your raspberry pi example for 1306 and start making changes from that point. Not sure if thats the right approach or should I go straight to the 1351.

    Regards
    Shyam



  • Hi Charles,

    is it possible to hook multiple screens up to the Rasberry Pi?

    I have 8 SSD 1306 7pin SPI that I would like to hookup.

    best,

    D



  • Hi,

    So as far as I understand, there is no way to use this driver with a SH1106 SPI 128x64 ?
    That's a real shame, and I can't find any other rasppi drivers.

    If someone could help, that would be great,
    Regards


Log in to reply
 

Looks like your connection to hallard.me's community was lost, please wait while we try to reconnect.