Thread (27 messages) 27 messages, 4 authors, 2015-01-14

Re: SSD1306 OLED driver

From: maxime.ripard@free-electrons.com <hidden>
Date: 2015-01-08 09:33:31

On Tue, Jan 06, 2015 at 06:30:01PM +0530, Ssagarr Patil wrote:
quoted
It's probably even easier with SPI. Have you considered reading
include/spi/spi.h?
Thanks for the pointer, I am using spi_write() call and I see /dev/fb0 node created.
but when I do echo "1121"> /dev/fb0 nothing comes up on oled any pointers on this ?
You can't use it like that. It's a standard framebuffer, that is
represented as an array of pixels, so you need to use a font rendering
software if you want to output some text.

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help