<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pl-pl">
<link rel="self" type="application/atom+xml" href="https://forum.atnel.pl/feed.php?f=47&amp;t=12415&amp;mode" />

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2015-07-23T20:54:11+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=47&amp;t=12415&amp;mode</id>
<entry>
<author><name><![CDATA[Ingvarusk]]></name></author>
<updated>2015-07-23T14:13:57+01:00</updated>
<published>2015-07-23T14:13:57+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=12415&amp;p=135308#p135308</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=12415&amp;p=135308#p135308"/>
<title type="html"><![CDATA[Re: HD44780 + I2C expander, brak kontrastu]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=12415&amp;p=135308#p135308"><![CDATA[
Albo masz gotową odpowiedź, albo masz źle ustawione piny danych, albo problem z biblioteką.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=5357">Ingvarusk</a> — 23 lip 2015, o 14:13</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Ekstrapolator]]></name></author>
<updated>2015-07-23T20:54:11+01:00</updated>
<published>2015-07-23T13:49:07+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=12415&amp;p=135305#p135305</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=12415&amp;p=135305#p135305"/>
<title type="html"><![CDATA[Re: HD44780 + I2C expander, brak kontrastu]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=12415&amp;p=135305#p135305"><![CDATA[
Expander : LCD Display 1602 <br /><br />Normalnie podświetlanie LCD w kodzie jest co 1s się włącza i wyłącza i to działa poprawnie przez co wnioskuje ze expander jest ok, coś chyba ten LCD padł 5 lat w szufladzie przeleżał.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=2072">Ekstrapolator</a> — 23 lip 2015, o 13:49</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Ingvarusk]]></name></author>
<updated>2015-07-23T13:36:52+01:00</updated>
<published>2015-07-23T13:36:52+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=12415&amp;p=135303#p135303</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=12415&amp;p=135303#p135303"/>
<title type="html"><![CDATA[Re: HD44780 + I2C expander, brak kontrastu]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=12415&amp;p=135303#p135303"><![CDATA[
W jaki sposób podświetlanie miga? Napisz jeszcze jaki t jest moduł ekspandera, ewentualnie zdjęcie.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=5357">Ingvarusk</a> — 23 lip 2015, o 13:36</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Ekstrapolator]]></name></author>
<updated>2015-07-22T17:04:07+01:00</updated>
<published>2015-07-22T17:04:07+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=12415&amp;p=135225#p135225</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=12415&amp;p=135225#p135225"/>
<title type="html"><![CDATA[HD44780 + I2C expander, brak kontrastu]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=12415&amp;p=135225#p135225"><![CDATA[
Hej,<br /><br />Pierwszy raz mam problem z tymi wyświetlaczami WC1602A data produkcji 2010. Nie mogę wyregulować kontrastu tak żeby na LCD pojawił się napis sprawdzałem miernikiem na V0 napięcie się zmienia od 0-5V. Na LCD nic się nie pojawia nawet czarne kwadraciki. Podświetlanie miga wiec expander działa poprawnie. I2C skanerem sprawdzałem wykrywa go pod adresem 0x27.<br /><br />[syntax=c]/*<br />** Example Arduino sketch for SainSmart I2C LCD Screen 16x2<br />** based on https://bitbucket.org/celem/sainsmart-i2c-lcd/src/3adf8e0d2443/sainlcdtest.ino<br />** by<br />** Edward Comer<br />** LICENSE: GNU General Public License, version 3 (GPL-3.0)<br /><br />** This example uses F Malpartida's NewLiquidCrystal library. Obtain from:<br />** https://bitbucket.org/fmalpartida/new-liquidcrystal <br /><br />** Modified – Ian Brennan ianbren at hotmail.com 23-10-2012 to support Tutorial posted to Arduino.cc<br /><br />** Written for and tested with Arduino 1.0<br />**<br />** NOTE: Tested on Arduino Uno whose I2C pins are A4==SDA, A5==SCL<br /><br />*/<br />#include &lt;Wire.h&gt;<br />#include &lt;I2CIO.h&gt;<br />#include &lt;LiquidCrystal_I2C.h&gt;<br />#include &lt;LCD.h&gt;<br /><br />#define I2C_ADDR 0x27 // &lt;&lt;----- Add your address here.  Find it from I2C Scanner<br />#define BACKLIGHT_PIN 3<br />#define En_pin  2<br />#define Rw_pin  1<br />#define Rs_pin  0<br />#define D4_pin  4<br />#define D5_pin  5<br />#define D6_pin  6<br />#define D7_pin  7<br /><br /><br /><br />LiquidCrystal_I2C lcd(I2C_ADDR,En_pin,Rw_pin,Rs_pin,D4_pin,D5_pin,D6_pin,D7_pin);<br /><br /><br /><br />void setup()<br />{<br />  lcd.begin (16,2); //  &lt;&lt;----- My LCD was 16x2<br /><br />  <br />// Switch on the backlight<br />lcd.setBacklightPin(BACKLIGHT_PIN,POSITIVE); <br />lcd.setBacklight(HIGH);<br />lcd.home (); // go home<br />lcd.print(&quot;************&quot;);<br />delay(5000);<br /><br />}<br /><br />void loop()<br />{<br />  delay(500);<br />  lcd.setBacklight(HIGH);<br />  delay(500);<br />  lcd.setBacklight(LOW);<br />    // when characters arrive over the serial port...<br />  if (Serial.available()) <br />  {<br />    // wait a bit for the entire message to arrive<br />    delay(100);<br />    // clear the screen<br />    lcd.clear();<br />    // read all the available characters<br />    while (Serial.available() &gt; 0) <br />    {<br />      // display each character to the LCD<br />      lcd.write(Serial.read());<br />    }<br />  }<br />}[/syntax]<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=2072">Ekstrapolator</a> — 22 lip 2015, o 17:04</p><hr />
]]></content>
</entry>
</feed>