Giter Site home page Giter Site logo

hallard / arduipi_ssd1306 Goto Github PK

View Code? Open in Web Editor NEW
29.0 29.0 17.0 201 KB

ArduiPi Adafruit SSD1306 OLED Driver for Raspberry Pi and ArduiPi Board

Home Page: http://hallard.me/adafruit-ssd1306-oled-display-driver-for-raspberry-pi

C++ 77.94% Makefile 1.84% C 20.22%

arduipi_ssd1306's Introduction

GitHub stats

arduipi_ssd1306's People

Contributors

hallard 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

arduipi_ssd1306's Issues

Support for other Linux distributions (namely arch)

I am trying to compile your library (the goal is ultimately to write a ruby wrapper for a project I am developing).

When compiling the example code I get into a

[root@alarmpi examples]# make
g++ -Ofast -mfpu=vfp -mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -Wall  -lssd1306 ssd1306_demo.cpp -o ssd1306_demo
/usr/local/lib/libssd1306.so: undefined reference to `i2c_smbus_write_i2c_block_data'
/usr/local/lib/libssd1306.so: undefined reference to `i2c_smbus_write_byte_data'
/usr/local/lib/libssd1306.so: undefined reference to `i2c_smbus_write_word_data'
collect2: error: ld returned 1 exit status

Which I find hard to understand, as those should be provided by the linux i2c subsystem.
Can you shed some light, please?

CRIUS CO-16 SSD1306

Hi, recently i bought a crius co-16 oled display, it uses a SSD1306 controller. I'm trying to get work with your library but nothing I've tried works (i'm trying this only with a raspberry and the display, not with an ArduiPi board).
This display only have 4 wires: gnd,vcc,sda,scl. I cut and soldered a wire to pin 14 (rst) to have reset function and shorted pins 19 & 20 to receive ACK from the display to the i2c bus. I can see the device with i2cdetect -y 0 with adress 0x3C but when I launch the ssd1306_demo nothing happens, display remains black.
I connect the reset wire to GPIO 4 on the raspberry.

Thanks for your attention.

424409_4972628515480_24902323_n
1003126_4972628835488_348675855_n

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.