polmouk wrote: 
> Though I have a question, is it possible to use it with an LCD with an
> I2c backpack? The output of the screen is only 4 pins (2 for power and
> two for data). Can someone point me to the changes that I will have to
> make to the code?
> 

Hi,

i didnt have a ic2 device...

You need to do something like> 
> sudo apt-get install python-smbus i2c-tools
And enable the i2c in raspi-config

Your /etc/modules must have
> i2c-bcm2708
> i2c-dev

In the main script you*ll need to add
> import lcddriver
and 
> lcd = lcddriver.lcd()
> lcd.lcd_clear()
To write something to the display something like
> lcd.lcd_display_string("my 1st line", 1)
> lcd.lcd_display_string("my 2.nd line", 2)

Most of the config.py also needs changes .....
But as i wrote - i dont have a I2c right now....


------------------------------------------------------------------------
DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516
View this thread: http://forums.slimdevices.com/showthread.php?t=103577

_______________________________________________
slimserver-de mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/slimserver-de

Antwort per Email an