hallard / arduipi_ssd1306 Goto Github PK
View Code? Open in Web Editor NEWArduiPi Adafruit SSD1306 OLED Driver for Raspberry Pi and ArduiPi Board
Home Page: http://hallard.me/adafruit-ssd1306-oled-display-driver-for-raspberry-pi
ArduiPi Adafruit SSD1306 OLED Driver for Raspberry Pi and ArduiPi Board
Home Page: http://hallard.me/adafruit-ssd1306-oled-display-driver-for-raspberry-pi
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?
new bcm2835 library has been released and add Raspberry PI2 support.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.