<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[forum.rcl-radio.ru &mdash; MAX6675 (Arduino) lcd1602 i2c]]></title>
		<link>http://forum.rcl-radio.ru/viewtopic.php?id=227</link>
		<atom:link href="http://forum.rcl-radio.ru/extern.php?action=feed&amp;tid=227&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «MAX6675 (Arduino) lcd1602 i2c».]]></description>
		<lastBuildDate>Sun, 22 Nov 2020 01:14:42 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[MAX6675 (Arduino) lcd1602 i2c]]></title>
			<link>http://forum.rcl-radio.ru/viewtopic.php?pid=2489#p2489</link>
			<description><![CDATA[<div class="codebox"><pre><code>#include &lt;max6675.h&gt;
#include &lt;LiquidCrystal_I2C.h&gt;
LiquidCrystal_I2C lcd(0x27,16,2);  // Устанавливаем дисплей
#include &lt;Wire.h&gt;
 
int thermoDO = 4;
int thermoCS = 5;
int thermoCLK = 6;
MAX6675 thermocouple(thermoCLK, thermoCS, thermoDO);
double t_c,t_sum,t_iz; 
 
void setup(){Serial.begin(9600);
lcd.init();                     
  lcd.backlight();// Включаем подсветку дисплея
delay(500);}
 
void loop(){
  t_sum=0;
  lcd.setCursor(0,0);lcd.print(&quot;MAX6675&quot;);
  lcd.setCursor(0,1);lcd.print(&quot;T = &quot;);
  lcd.print(t_iz,1);
  lcd.print((char)223);lcd.print(&quot;C &quot;);
  Serial.print(&quot;C = &quot;); 
  Serial.println(thermocouple.readCelsius());
  for(int i=0;i&lt;5;i++){
    t_c=thermocouple.readCelsius();
    t_sum=t_sum+t_c;
    delay(200);
  }
  t_iz=t_sum/5;
  lcd.clear();
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (liman324)]]></author>
			<pubDate>Sun, 22 Nov 2020 01:14:42 +0000</pubDate>
			<guid>http://forum.rcl-radio.ru/viewtopic.php?pid=2489#p2489</guid>
		</item>
	</channel>
</rss>
