<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[SDS PLC/PAC: Měření Energie & OnlineTechnology.cz - LCD 2x20 na RS232]]></title>
	<link rel="self" href="https://forum.sds.an-d.cz/extern.php?action=feed&amp;tid=272&amp;type=atom" />
	<updated>2013-01-07T12:07:04Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.sds.an-d.cz/viewtopic.php?id=272</id>
		<entry>
			<title type="html"><![CDATA[Re: LCD 2x20 na RS232]]></title>
			<link rel="alternate" href="https://forum.sds.an-d.cz/viewtopic.php?pid=2846#p2846" />
			<content type="html"><![CDATA[<p>Jinak ten můj má nějaké divné kódové stránky a nejde přepínat, tak jsem použil tenhle výpis:<br />Nechtělo se mi laborovat s překladem hexa tak jsem to vypsal ... :-) Je to jenom část programu s výpisem ...<br /></p><div class="codebox"><pre><code>//****************************************************
serial_text_out(0x15); // maže displej
serial_text_out(&#039;03=&#039;);
serial_text_out(0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f);
wait(1400);
serial_text_out(0x15);
serial_text_out(&#039;04=&#039;);
serial_text_out(0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f);
wait(1400);
serial_text_out(0x15);
serial_text_out(&#039;05=&#039;);
serial_text_out(0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f);
wait(1400);
serial_text_out(0x15);
serial_text_out(&#039;06=&#039;);
serial_text_out(0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f);
wait(1400);
serial_text_out(0x15);
serial_text_out(&#039;07=&#039;);
serial_text_out(0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f);
wait(1400);
serial_text_out(0x15);
serial_text_out(&#039;08=&#039;);
serial_text_out(0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x7f);
wait(1400);
serial_text_out(0x15);
serial_text_out(&#039;09=&#039;);
serial_text_out(0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f);
wait(1400);
serial_text_out(0x15);
serial_text_out(&#039;10=&#039;);
serial_text_out(0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0x9f);
wait(1400);
serial_text_out(0x15);
serial_text_out(&#039;11=&#039;);
serial_text_out(0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0xaf);
wait(1400);
serial_text_out(0x15);
serial_text_out(&#039;12=&#039;);
serial_text_out(0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,0xb8,0xb9,0xba,0xbb,0xbc,0xbd,0xbe,0xbf);
wait(1400);
serial_text_out(0x15);
serial_text_out(&#039;13=&#039;);
serial_text_out(0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,0xc8,0xc9,0xca,0xcb,0xcc,0xcd,0xce,0xcf);
wait(1400);
serial_text_out(0x15);
serial_text_out(&#039;14=&#039;);
serial_text_out(0xd0,0xd1,0xd2,0xd3,0xd4,0xd5,0xd6,0xd7,0xd8,0xd9,0xda,0xdb,0xdc,0xdd,0xde,0xdf);
wait(1400);
serial_text_out(0x15);
serial_text_out(&#039;15=&#039;);
serial_text_out(0xe0,0xe1,0xe2,0xe3,0xe4,0xe5,0xe6,0xe7,0xe8,0xe9,0xea,0xeb,0xec,0xed,0xee,0xef);
wait(1400);
serial_text_out(0x15);
serial_text_out(&#039;16=&#039;);
serial_text_out(0xf0,0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,0xf8,0xf9,0xfa,0xfb,0xfc,0xfd,0xfe,0xff);
wait(1400);
serial_text_out(0x15);
//****************************************************</code></pre></div>]]></content>
			<author>
				<name><![CDATA[TiborTeam]]></name>
				<uri>https://forum.sds.an-d.cz/profile.php?id=62</uri>
			</author>
			<updated>2013-01-07T12:07:04Z</updated>
			<id>https://forum.sds.an-d.cz/viewtopic.php?pid=2846#p2846</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: LCD 2x20 na RS232]]></title>
			<link rel="alternate" href="https://forum.sds.an-d.cz/viewtopic.php?pid=2845#p2845" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>hrnous napsal:</cite><blockquote><p>je to někde na hůře na firmě, zjistím, jeden klidně daruju / když jich bude víc <img src="https://forum.sds.an-d.cz/img/smilies/smile.png" width="15" height="15" alt="smile" /></p></blockquote></div><p>Díííík <img src="https://forum.sds.an-d.cz/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></content>
			<author>
				<name><![CDATA[TiborTeam]]></name>
				<uri>https://forum.sds.an-d.cz/profile.php?id=62</uri>
			</author>
			<updated>2013-01-07T11:58:36Z</updated>
			<id>https://forum.sds.an-d.cz/viewtopic.php?pid=2845#p2845</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: LCD 2x20 na RS232]]></title>
			<link rel="alternate" href="https://forum.sds.an-d.cz/viewtopic.php?pid=2844#p2844" />
			<content type="html"><![CDATA[<p>je to někde na hůře na firmě, zjistím, jeden klidně daruju / když jich bude víc <img src="https://forum.sds.an-d.cz/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[hrnous]]></name>
				<uri>https://forum.sds.an-d.cz/profile.php?id=3</uri>
			</author>
			<updated>2013-01-07T09:44:20Z</updated>
			<id>https://forum.sds.an-d.cz/viewtopic.php?pid=2844#p2844</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: LCD 2x20 na RS232]]></title>
			<link rel="alternate" href="https://forum.sds.an-d.cz/viewtopic.php?pid=1886#p1886" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>j@m napsal:</cite><blockquote><p>Joooo tak to už bude problém kódové stránky v paměti displeje. Mám takové tušení, že budeš muset laborovat. Není tam někde příkaz na změnu CodePage? nebo zkus ve smyčce vypsat všechny znaky a třeba tam bude <img src="https://forum.sds.an-d.cz/img/smilies/smile.png" width="15" height="15" alt="smile" />&nbsp; &nbsp;Jooo a proč zrovna 0xB0 ??? Zkus třeba F8 ;-)</p></blockquote></div><p>Jo, změna codepage je popsána v manuálu takhle :<br />1B 74 N Príkaz pro volbu kódové stránky. Je přijímán, ale displej ho neobsluhuje. <img src="https://forum.sds.an-d.cz/img/smilies/sad.png" width="15" height="15" alt="sad" /><br />F8 píše &quot;ř&quot; <img src="https://forum.sds.an-d.cz/img/smilies/sad.png" width="15" height="15" alt="sad" /><br />Zkusím výpis všeho ....</p>]]></content>
			<author>
				<name><![CDATA[TiborTeam]]></name>
				<uri>https://forum.sds.an-d.cz/profile.php?id=62</uri>
			</author>
			<updated>2012-05-25T08:51:51Z</updated>
			<id>https://forum.sds.an-d.cz/viewtopic.php?pid=1886#p1886</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: LCD 2x20 na RS232]]></title>
			<link rel="alternate" href="https://forum.sds.an-d.cz/viewtopic.php?pid=1885#p1885" />
			<content type="html"><![CDATA[<p>Joooo tak to už bude problém kódové stránky v paměti displeje. Mám takové tušení, že budeš muset laborovat. Není tam někde příkaz na změnu CodePage? nebo zkus ve smyčce vypsat všechny znaky a třeba tam bude <img src="https://forum.sds.an-d.cz/img/smilies/smile.png" width="15" height="15" alt="smile" />&nbsp; &nbsp;Jooo a proč zrovna 0xB0 ??? Zkus třeba F8 ;-)</p>]]></content>
			<author>
				<name><![CDATA[j@m]]></name>
				<uri>https://forum.sds.an-d.cz/profile.php?id=5</uri>
			</author>
			<updated>2012-05-25T06:50:05Z</updated>
			<id>https://forum.sds.an-d.cz/viewtopic.php?pid=1885#p1885</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: LCD 2x20 na RS232]]></title>
			<link rel="alternate" href="https://forum.sds.an-d.cz/viewtopic.php?pid=1876#p1876" />
			<content type="html"><![CDATA[<p>Ještě jeden problém <img src="https://forum.sds.an-d.cz/img/smilies/sad.png" width="15" height="15" alt="sad" /><br />Jak dostanu na LCD znak stupně ° ???<br />Manuál uvádí CP852 (Latin2) ... ale 0xB0 mi píše Ž <img src="https://forum.sds.an-d.cz/img/smilies/sad.png" width="15" height="15" alt="sad" /></p>]]></content>
			<author>
				<name><![CDATA[TiborTeam]]></name>
				<uri>https://forum.sds.an-d.cz/profile.php?id=62</uri>
			</author>
			<updated>2012-05-24T10:58:35Z</updated>
			<id>https://forum.sds.an-d.cz/viewtopic.php?pid=1876#p1876</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: LCD 2x20 na RS232]]></title>
			<link rel="alternate" href="https://forum.sds.an-d.cz/viewtopic.php?pid=1871#p1871" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>j@m napsal:</cite><blockquote><p>např. toto nefunguje?</p><p> serial_set(9600, 8, 1, 0);<br /> serial_text_out(0x1F, 0x24 , 0x01, 0x01);</p></blockquote></div><p>Dík !!!! Být ženská, tak ti dám hubana <img src="https://forum.sds.an-d.cz/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Mám to takhle:<br />...<br />&nbsp; serial_text_out(0x1F, 0x24 , 0x01, 0x01);<br />&nbsp; serial_text_out(text[123]);&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// text[123] je HH:MM:SS<br />&nbsp; serial_text_out(0x1F, 0x24 , 0x01, 0x02);<br />&nbsp; serial_text_out(&#039;Rele1 = ON);<br />...<br /><img src="https://forum.sds.an-d.cz/img/smilies/cool.png" width="15" height="15" alt="cool" /></p>]]></content>
			<author>
				<name><![CDATA[TiborTeam]]></name>
				<uri>https://forum.sds.an-d.cz/profile.php?id=62</uri>
			</author>
			<updated>2012-05-23T09:23:03Z</updated>
			<id>https://forum.sds.an-d.cz/viewtopic.php?pid=1871#p1871</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: LCD 2x20 na RS232]]></title>
			<link rel="alternate" href="https://forum.sds.an-d.cz/viewtopic.php?pid=1868#p1868" />
			<content type="html"><![CDATA[<p>např. toto nefunguje?</p><p> serial_set(9600, 8, 1, 0);<br /> serial_text_out(0x1F, 0x24 , 0x01, 0x01);</p>]]></content>
			<author>
				<name><![CDATA[j@m]]></name>
				<uri>https://forum.sds.an-d.cz/profile.php?id=5</uri>
			</author>
			<updated>2012-05-23T07:03:45Z</updated>
			<id>https://forum.sds.an-d.cz/viewtopic.php?pid=1868#p1868</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[LCD 2x20 na RS232]]></title>
			<link rel="alternate" href="https://forum.sds.an-d.cz/viewtopic.php?pid=1864#p1864" />
			<content type="html"><![CDATA[<p>Poradí někdo ohledně příkazů ? Umím vypsat ale jenom na jeden řádek. Potřeboval bych vykoumat skok na druhý řádek ...<br />Mám tenhle zákaznický <a href="http://www.tiborteam.eu/_dokumenty/sds_forum/hw/LCDcommands_cz.pdf"> LCD </a> ... jenom ty příkazy mi nejedou <img src="https://forum.sds.an-d.cz/img/smilies/sad.png" width="15" height="15" alt="sad" /></p>]]></content>
			<author>
				<name><![CDATA[TiborTeam]]></name>
				<uri>https://forum.sds.an-d.cz/profile.php?id=62</uri>
			</author>
			<updated>2012-05-22T12:10:39Z</updated>
			<id>https://forum.sds.an-d.cz/viewtopic.php?pid=1864#p1864</id>
		</entry>
</feed>
