<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 5: 16x2 i2c lcd on raspberry pi 2</title><link>https://sourceforge.net/p/lcdproc/support-requests/5/</link><description>Recent changes to 5: 16x2 i2c lcd on raspberry pi 2</description><atom:link href="https://sourceforge.net/p/lcdproc/support-requests/5/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sat, 17 Sep 2016 19:58:08 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/lcdproc/support-requests/5/feed.rss" rel="self" type="application/rss+xml"/><item><title>16x2 i2c lcd on raspberry pi 2</title><link>https://sourceforge.net/p/lcdproc/support-requests/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am trying to make a music player on raspberry with 16x2 lcd support.&lt;br/&gt;
I am running volumio os that based debian 8&lt;br/&gt;
but i am having trouble at lcdproc and mpdlcd..&lt;/p&gt;
&lt;p&gt;I tested my lcd with this script :http://www.recantha.co.uk/blog/?p=4849 and it works&lt;/p&gt;
&lt;p&gt;I am using this i2c settings on LCDd.conf &lt;/p&gt;
&lt;h2 id="hitachi-hd44780-driver"&gt;Hitachi HD44780 driver&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;[hd44780]&lt;/span&gt;&lt;/p&gt;
&lt;h1 id="select-what-type-of-connection-see-documentation-for-types"&gt;Select what type of connection. See documentation for types.&lt;/h1&gt;
&lt;p&gt;ConnectionType=i2c&lt;/p&gt;
&lt;h1 id="port-where-the-lpt-is-usual-value-are-0x278-0x378-and-0x3bc"&gt;Port where the LPT is. Usual value are: 0x278, 0x378 and 0x3BC&lt;/h1&gt;
&lt;p&gt;Port=0x27&lt;/p&gt;
&lt;h1 id="device-of-the-serial-interface-default-devlcd"&gt;Device of the serial interface &lt;span&gt;[default: /dev/lcd]&lt;/span&gt;&lt;/h1&gt;
&lt;p&gt;Device=/dev/i2c-1&lt;/p&gt;
&lt;h1 id="bitrate-of-the-serial-port-0-for-interface-default"&gt;Bitrate of the serial port (0 for interface default)&lt;/h1&gt;
&lt;p&gt;Speed=0&lt;/p&gt;
&lt;h1 id="if-you-have-a-keypad-connected"&gt;If you have a keypad connected.&lt;/h1&gt;
&lt;h1 id="you-may-also-need-to-configure-the-keypad-layout-further-on-in-this-file"&gt;You may also need to configure the keypad layout further on in this file.&lt;/h1&gt;
&lt;p&gt;Keypad=no&lt;/p&gt;
&lt;h1 id="set-the-initial-contrast-bwctusb-and-lcd2usb-default-500-legal-0-1000"&gt;Set the initial contrast (bwctusb and lcd2usb) &lt;span&gt;[default: 500; legal: 0 - 1000]&lt;/span&gt;&lt;/h1&gt;
&lt;p&gt;Contrast=100&lt;/p&gt;
&lt;h1 id="set-brightness-of-the-backlight-lcd2usb-only-default-0-legal-0-1000"&gt;Set brightness of the backlight (lcd2usb only) &lt;span&gt;[default: 0; legal: 0 - 1000]&lt;/span&gt;&lt;/h1&gt;
&lt;p&gt;Brightness=500&lt;/p&gt;
&lt;h1 id="offbrightness0"&gt;OffBrightness=0&lt;/h1&gt;
&lt;h1 id="if-you-have-a-switchable-backlight"&gt;If you have a switchable backlight.&lt;/h1&gt;
&lt;p&gt;Backlight=yes&lt;/p&gt;
&lt;h1 id="if-you-have-the-additional-output-port-bargraph-and-you-want-to"&gt;If you have the additional output port ("bargraph") and you want to&lt;/h1&gt;
&lt;h1 id="be-able-to-control-it-with-the-lcdproc-output-command"&gt;be able to control it with the lcdproc OUTPUT command&lt;/h1&gt;
&lt;p&gt;OutputPort=no&lt;/p&gt;
&lt;h1 id="specifies-if-the-last-line-is-pixel-addressable-yes-or-it-controls-an"&gt;Specifies if the last line is pixel addressable (yes) or it controls an&lt;/h1&gt;
&lt;h1 id="underline-effect-no-default-yes-legal-yes-no"&gt;underline effect (no). &lt;span&gt;[default: yes; legal: yes, no]&lt;/span&gt;&lt;/h1&gt;
&lt;h1 id="lastlineyes"&gt;Lastline=yes&lt;/h1&gt;
&lt;h1 id="specifies-the-size-of-the-lcd"&gt;Specifies the size of the LCD.&lt;/h1&gt;
&lt;h1 id="in-case-of-multiple-combined-displays-this-should-be-the-total-size"&gt;In case of multiple combined displays, this should be the total size.&lt;/h1&gt;
&lt;p&gt;Size=16x2&lt;/p&gt;
&lt;p&gt;D7=14&lt;br/&gt;
D6=23&lt;br/&gt;
D5=24&lt;br/&gt;
D4=25&lt;br/&gt;
RS=7&lt;br/&gt;
EN=8&lt;br/&gt;
BL=18&lt;/p&gt;
&lt;h1 id="for-multiple-combined-displays-how-many-lines-does-each-display-have"&gt;For multiple combined displays: how many lines does each display have.&lt;/h1&gt;
&lt;h1 id="vspan22-means-both-displays-have-2-lines"&gt;Vspan=2,2 means both displays have 2 lines.&lt;/h1&gt;
&lt;h1 id="vspan22"&gt;vspan=2,2&lt;/h1&gt;
&lt;h1 id="if-you-have-an-hd66712-a-ks0073-or-another-almost-hd44780-compatible"&gt;If you have an HD66712, a KS0073 or another 'almost HD44780-compatible',&lt;/h1&gt;
&lt;h1 id="set-this-flag-to-get-into-extended-mode-4-line-linear"&gt;set this flag to get into extended mode (4-line linear).&lt;/h1&gt;
&lt;h1 id="extendedmodeyes"&gt;ExtendedMode=yes&lt;/h1&gt;
&lt;h1 id="in-extended-mode-on-some-controllers-like-the-st7036-in-3-line-mode"&gt;In extended mode, on some controllers like the ST7036 (in 3 line mode)&lt;/h1&gt;
&lt;h1 id="the-next-line-in-ddram-wont-start-0x20-higher-default-0x20"&gt;the next line in DDRAM won't start 0x20 higher. &lt;span&gt;[default: 0x20]&lt;/span&gt;&lt;/h1&gt;
&lt;h1 id="lineaddress0x10"&gt;LineAddress=0x10&lt;/h1&gt;
&lt;h1 id="character-map-to-to-map-iso-8859-1-to-the-lcds-character-set"&gt;Character map to to map ISO-8859-1 to the LCD's character set&lt;/h1&gt;
&lt;h1 id="default-hd44780_default-legal-hd44780_default-hd44780_euro-ea_ks0073"&gt;[default: hd44780_default; legal: hd44780_default, hd44780_euro, ea_ks0073,&lt;/h1&gt;
&lt;h1 id="sed1278f_0b-hd44780_koi8_r-hd44780_cp1251-hd44780_8859_5-upd16314"&gt;sed1278f_0b, hd44780_koi8_r, hd44780_cp1251, hd44780_8859_5, upd16314 ]&lt;/h1&gt;
&lt;h1 id="hd44780_koi8_r-hd44780_cp1251-hd44780_8859_5-and-upd16314-are-possible-if"&gt;(hd44780_koi8_r, hd44780_cp1251, hd44780_8859_5 and upd16314 are possible if&lt;/h1&gt;
&lt;h1 id="compiled-with-additional-charmaps"&gt;compiled with additional charmaps)&lt;/h1&gt;
&lt;h1 id="charmaphd44780_8859_5"&gt;CharMap=hd44780_8859_5&lt;/h1&gt;
&lt;h1 id="if-your-display-is-slow-and-cannot-keep-up-with-the-flow-of-data-from"&gt;If your display is slow and cannot keep up with the flow of data from&lt;/h1&gt;
&lt;h1 id="lcdd-garbage-can-appear-on-the-lcdd-set-this-delay-factor-to-2-or-4"&gt;LCDd, garbage can appear on the LCDd. Set this delay factor to 2 or 4&lt;/h1&gt;
&lt;h1 id="to-increase-the-delays-default-1"&gt;to increase the delays. Default: 1.&lt;/h1&gt;
&lt;h1 id="delaymult2"&gt;DelayMult=2&lt;/h1&gt;
&lt;h1 id="some-displays-eg-vdr-wakeup-need-a-message-from-the-driver-to-that-it"&gt;Some displays (e.g. vdr-wakeup) need a message from the driver to that it&lt;/h1&gt;
&lt;h1 id="is-still-alive-when-set-to-a-value-bigger-then-null-the-character-in-the"&gt;is still alive. When set to a value bigger then null the character in the&lt;/h1&gt;
&lt;h1 id="upper-left-corner-is-updated-every-wzxhzdk0-seconds-default-0"&gt;upper left corner is updated every &amp;lt;KeepAliveDisplay&amp;gt; seconds. Default: 0.&lt;/h1&gt;
&lt;h1 id="keepalivedisplay0"&gt;KeepAliveDisplay=0&lt;/h1&gt;
&lt;h1 id="if-you-experience-occasional-garbage-on-your-display-you-can-use-this"&gt;If you experience occasional garbage on your display you can use this&lt;/h1&gt;
&lt;h1 id="option-as-workaround-if-set-to-a-value-bigger-than-null-it-forces-a"&gt;option as workaround. If set to a value bigger than null it forces a&lt;/h1&gt;
&lt;h1 id="full-screen-refresh-wzxhzdk1-seconds-default-0"&gt;full screen refresh &amp;lt;RefreshDiplay&amp;gt; seconds. Default: 0.&lt;/h1&gt;
&lt;h1 id="refreshdisplay5"&gt;RefreshDisplay=5&lt;/h1&gt;
&lt;h1 id="you-can-reduce-the-inserted-delays-by-setting-this-to-false"&gt;You can reduce the inserted delays by setting this to false.&lt;/h1&gt;
&lt;h1 id="on-fast-pcs-it-is-possible-your-lcd-does-not-respond-correctly"&gt;On fast PCs it is possible your LCD does not respond correctly.&lt;/h1&gt;
&lt;h1 id="default-true"&gt;Default: true.&lt;/h1&gt;
&lt;p&gt;DelayBus=true&lt;/p&gt;
&lt;h1 id="if-you-have-a-keypad-you-can-assign-keystrings-to-the-keys"&gt;If you have a keypad you can assign keystrings to the keys.&lt;/h1&gt;
&lt;h1 id="see-documentation-for-used-terms-and-how-to-wire-it"&gt;See documentation for used terms and how to wire it.&lt;/h1&gt;
&lt;h1 id="for-example-to-give-directly-connected-key-4-the-string-enter-use"&gt;For example to give directly connected key 4 the string "Enter", use:&lt;/h1&gt;
&lt;h1 id="keydirect_4enter"&gt;KeyDirect_4=Enter&lt;/h1&gt;
&lt;h1 id="for-matrix-keys-use-the-x-and-y-coordinates-of-the-key"&gt;For matrix keys use the X and Y coordinates of the key:&lt;/h1&gt;
&lt;h1 id="keymatrix_1_3enter"&gt;KeyMatrix_1_3=Enter&lt;/h1&gt;
&lt;p&gt;KeyMatrix_4_1=Enter&lt;br/&gt;
KeyMatrix_4_2=Up&lt;br/&gt;
KeyMatrix_4_3=Down&lt;br/&gt;
KeyMatrix_4_4=Escape&lt;/p&gt;
&lt;p&gt;But when i execute mpdlcd and play a music on mpd. my lcd backlight flickers and turns on and off continuously like shown in video below&lt;br/&gt;
&lt;a href="http://sendvid.com/oyhasm6a" rel="nofollow"&gt;http://sendvid.com/oyhasm6a&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Please help&lt;br/&gt;
Regards&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sheeny</dc:creator><pubDate>Sat, 17 Sep 2016 19:58:08 -0000</pubDate><guid>https://sourceforge.net619d94440c1f4af486b1f64c72befc4d29ecc9a6</guid></item></channel></rss>