Launch of Linino.org
Launch of Linino.org
To use an OLED screen with Linino One, you must use the Level Shifters. The Level Shifter is connected with Linino One and OLED, as you see in the picture below.
Link from Level shifter to Linino One:
Link from Level shifter to OLED:
Link from OLED to Linino ONE:
To register your display oled use the following command:
root@linino:~# echo dogoled > /sys/devices/mcuio/shield_register
To display an image on the oled screen, send a data stream of monochrome image to the framebuffer as follows:
root@linino:~# cat linino_log.1bpp > /dev/fb0
You can download demo monochrome images here
If you want to display your custom png image on the oled screen use our png2mono tool. To install png2mono follows this steps:
root@linino:~# opkg update root@linino:~# opkg install png2mono_1.0.0-5_ar71xx.ipk
Then, to generate a monochrome image from your custom image run this command :
root@linino:~# png2mono custom_image.png monochrome_image.1bpp
Now you should be able to display your custom image with a simple 'cat' of the image itself :
root@linino:~# cat monochrome_image.1bpp > /dev/fb0
2014 © dog hunter llc and the Linino Community. Linino.org is a dog hunter sponsored community project. Credits