Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Yet another OLED Driver!
#4
(12-22-2018, 10:26 AM)ear5142 Wrote: #from luma.core.interface.serial import spi
from luma.core.interface.serial import i2c
from luma.core.render import canvas
from luma.oled.device import ssd1306
import RPi.GPIO as GPIO
#serial = spi(port=0, device=0, gpio_DC=27, gpio_RST=24)
serial = i2c(port=1, address=0x3C)
device = ssd1306(serial, rotate=2)
http://moodeaudio.org/forum/showthread.p...70#pid5270

Thanks. Will try it today or tomorrow and let you know.
Remy
Reply


Messages In This Thread
Yet another OLED Driver! - by superpat - 12-20-2018, 05:47 PM
RE: Yet another OLED Driver! - by remy1961 - 12-21-2018, 06:21 PM
RE: Yet another OLED Driver! - by ear5142 - 12-22-2018, 10:26 AM
RE: Yet another OLED Driver! - by remy1961 - 12-22-2018, 07:43 PM
RE: Yet another OLED Driver! - by remy1961 - 12-22-2018, 11:01 PM
RE: Yet another OLED Driver! - by superpat - 12-23-2018, 10:01 AM
RE: Yet another OLED Driver! - by DRONE7 - 01-27-2019, 07:51 PM

Forum Jump: