Community Forum
    • Blog
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. tito
    T
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 11
    • Groups 0

    tito

    @tito

    362
    Profile views
    11
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    tito Unfollow Follow

    Latest posts made by tito

    • RE: New Adafruit generic OLED display driver for Raspberry PI

      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) ?

      posted in Blog articles comments
      T
      tito
    • RE: New Adafruit generic OLED display driver for Raspberry PI

      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();
      
      posted in Blog articles comments
      T
      tito
    • RE: New Adafruit generic OLED display driver for Raspberry PI

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

      posted in Blog articles comments
      T
      tito
    • RE: New Adafruit generic OLED display driver for Raspberry PI

      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>

      posted in Blog articles comments
      T
      tito
    • RE: New Adafruit generic OLED display driver for Raspberry PI

      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!

      posted in Blog articles comments
      T
      tito
    • RE: 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
      posted in Blog articles comments
      T
      tito
    • RE: New Adafruit generic OLED display driver for Raspberry PI

      now I'm running into the same issues as the former user:
      examples are running as sudo from console, but if I load the example source oled_demo.cpp into Geany, it compies, but buils does not work.
      which are the exact parameters for the library to link to?
      -I/ArduiPi_OLED ??
      -L/ArduiPi_OLED ??

      posted in Blog articles comments
      T
      tito
    • RE: Adafruit SSD1306 OLED Display Driver for Raspberry Pi

      partially resolved -

      1. commands have to beexecuted as sudo
      2. old 1306 drivers don't work, I have to use new driver lib and display no. 6 (no idea why, but anyway...).
      posted in Blog articles comments
      T
      tito
    • RE: Adafruit SSD1306 OLED Display Driver for Raspberry Pi

      i2c OLED display is from China, i2c addr is 0x3c, attached to i2c-1, correctly detected by
      i2cdetect -y 1

      not working with your ssd1306-oled examples nevertheless.

      posted in Blog articles comments
      T
      tito
    • RE: Adafruit SSD1306 OLED Display Driver for Raspberry Pi

      I also had added
      i2c-bcm2708
      i2c-dev
      to /etc/modules,
      but still the same.
      so what might be still wrong?

      posted in Blog articles comments
      T
      tito