<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Basic Lessons &#8211; ESPcopter</title>
	<atom:link href="https://espcopter.com/category/basic-lessons-en/feed/" rel="self" type="application/rss+xml" />
	<link>https://espcopter.com</link>
	<description>ESPcopter</description>
	<lastBuildDate>Sun, 18 Nov 2018 20:30:15 +0000</lastBuildDate>
	<language>tr</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.1</generator>

<image>
	<url>https://espcopter.com/wp-content/uploads/2016/09/cropped-quad-1-32x32.jpg</url>
	<title>Basic Lessons &#8211; ESPcopter</title>
	<link>https://espcopter.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Lesson 4. Analog Inputs</title>
		<link>https://espcopter.com/2017/04/30/lesson-4-analog-inputs/</link>
					<comments>https://espcopter.com/2017/04/30/lesson-4-analog-inputs/#respond</comments>
		
		<dc:creator><![CDATA[metehanemlik]]></dc:creator>
		<pubDate>Sun, 30 Apr 2017 21:34:22 +0000</pubDate>
				<category><![CDATA[Basic Lessons]]></category>
		<guid isPermaLink="false">http://espcopter.com/?p=354</guid>

					<description><![CDATA[&#160; Overview In this lesson, you will rewrite Blink code. However, your delay function change according to your ESPcopter Battery value. [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>&nbsp;</p>
<div class="page-title-wrapper">
<h1 class="headline"><span id="overview">Overview</span></h1>
</div>
<div class="page-content">
<div class="row-fluid build-text">
<p>In this lesson, you will rewrite Blink code. However, your delay function change according to your ESPcopter Battery value.</p>
</div>
</div>
<p>&nbsp;</p>
<h1 style="text-align: center;">Code</h1>
<pre></pre>
<div class="wpb_content_element"  >
	<div class="messagebox_text style-color-jevc-bg"><p>// These constants won&#8217;t change. They&#8217;re used to give names to the pins used:<br />
const int analogInPin = 0; // Analog input pin that the potentiometer is attached to<br />
const int analogOutPin = 2; // Analog output pin that the LED is attached to</p>
<p>int sensorValue = 0; // value read from the pot<br />
int outputValue = 0; // value output to the PWM (analog out)</p>
<p>void setup() {<br />
// initialize serial communications at 9600 bps:<br />
Serial.begin(9600);<br />
}</p>
<p>void loop() {<br />
// read the analog in value:<br />
sensorValue = analogRead(analogInPin);<br />
// map it to the range of the analog out:<br />
outputValue = map(6*sensorValue, 3300, 4200, 0, 100);<br />
// change the analog out value:<br />
analogWrite(analogOutPin, outputValue);</p>
<p>// print the results to the Serial Monitor:<br />
Serial.print(&#8220;sensor = &#8220;);<br />
Serial.print(sensorValue);<br />
Serial.print(&#8220;\t output = &#8220;);<br />
Serial.println(outputValue);</p>
<p>// wait 2 milliseconds before the next loop for the analog-to-digital<br />
// converter to settle after the last reading:<br />
delay(2);<br />
}</p>
</div>
	</div>

]]></content:encoded>
					
					<wfw:commentRss>https://espcopter.com/2017/04/30/lesson-4-analog-inputs/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Lesson 3. The Serial Monitor Hello World</title>
		<link>https://espcopter.com/2017/04/30/lesson-5-the-serial-monitor/</link>
					<comments>https://espcopter.com/2017/04/30/lesson-5-the-serial-monitor/#respond</comments>
		
		<dc:creator><![CDATA[metehanemlik]]></dc:creator>
		<pubDate>Sun, 30 Apr 2017 21:30:26 +0000</pubDate>
				<category><![CDATA[Basic Lessons]]></category>
		<guid isPermaLink="false">http://espcopter.com/?p=350</guid>

					<description><![CDATA[&#160; Hello World The easiest way to start working with ESPcopter with Arduino begins here. You&#8217;ll learn how to output print [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>&nbsp;</p>
<div class="titlepage">
<div>
<div>
<h2 class="title">Hello World</h2>
</div>
</div>
</div>
<p>The easiest <a id="id22" class="indexterm"></a>way to start working with ESPcopter with Arduino begins here. You&#8217;ll learn how to output print statements. The ESPcopte can use a <span class="strong"><strong>Serial Monitor</strong></span> for displaying information such as print statements, sensor data, and the like. This is a very powerful tool for debugging long codes. Now for your first code!</p>
<h2>Code</h2>
<p>&nbsp;</p>
<div class="wpb_content_element"  >
	<div class="messagebox_text style-color-jevc-bg"><p>/*</p>
<p>Blink ESPcopter</p>
<p>By Metehan Emlik</p>
<p>*/</p>
<p>void setup() {</p>
<p>Serial.begin(9600);</p>
<p>} void loop() {</p>
<p>Serial.println(&#8220;Hello World!&#8221;);</p>
<p>delay(1000);</p>
<p>}</p>
</div>
	</div>

]]></content:encoded>
					
					<wfw:commentRss>https://espcopter.com/2017/04/30/lesson-5-the-serial-monitor/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Lesson 2. RGB LEDs</title>
		<link>https://espcopter.com/2017/04/30/lesson-2-rgb-leds/</link>
					<comments>https://espcopter.com/2017/04/30/lesson-2-rgb-leds/#respond</comments>
		
		<dc:creator><![CDATA[metehanemlik]]></dc:creator>
		<pubDate>Sun, 30 Apr 2017 21:19:44 +0000</pubDate>
				<category><![CDATA[Basic Lessons]]></category>
		<guid isPermaLink="false">http://espcopter.com/?p=343</guid>

					<description><![CDATA[Overview &#160; In this lesson, you will learn how to use a RGB (Red Green Blue) LED with an Espcopter. [&#8230;]]]></description>
										<content:encoded><![CDATA[<h1></h1>
<h1>Overview</h1>
<p>&nbsp;</p>
<div class="page-title-wrapper">
<p>In this lesson, you will learn how to use a RGB (Red Green Blue) LED with an Espcopter.</p>
<p>At first glance, RGB (Red, Green, Blue) LEDs look just like regular LEDs, however, inside the usual LED package, there are actually three LEDs, one red, one green and yes, one blue. By controlling the brightness of each of the individual LEDs you can mix pretty much any color you want.</p>
<p>You will use the analogWrite function of Arduino to control the color of the LED.</p>
<div class="author"></div>
</div>
<h1 style="text-align: center;">Code</h1>
<div class="page-content"></div>
<div data-parent="true" class="vc_row row-container" id="row-unique-0"><div class="row limit-width row-parent"><div class="wpb_row row-inner"><div class="wpb_column pos-top pos-center align_left column_parent col-lg-12 single-internal-gutter"><div class="uncol style-light"  ><div class="uncoltable"><div class="uncell no-block-padding" ><div class="uncont"><div class="wpb_content_element"  >
	<div class="messagebox_text style-color-jevc-bg"><p>int bluePin = 16; // unreverse<br />
int redPin = 2; //reverse<br />
int greenPin = 0; //revers</p>
<p>int wait = 500;<br />
// the setup function runs once when you press reset or power the board<br />
void setup() {<br />
// initialize digital pin LED_BUILTIN as an output.<br />
pinMode(bluePin, OUTPUT);<br />
pinMode(redPin, OUTPUT);<br />
pinMode(greenPin, OUTPUT);<br />
}</p>
<p>// the loop function runs over and over again forever<br />
void loop() {<br />
digitalWrite(bluePin, HIGH); // turn the LED on (HIGH is the voltage level)<br />
delay(wait); // wait for a second<br />
digitalWrite(bluePin, LOW); // turn the LED off by making the voltage LOW<br />
digitalWrite(redPin, LOW); // turn the LED on (HIGH is the voltage level)<br />
delay(wait); // wait for a second<br />
digitalWrite(redPin, HIGH); // turn the LED off by making the voltage LOW<br />
digitalWrite(greenPin, LOW); // turn the LED on (HIGH is the voltage level)<br />
delay(wait); // wait for a second<br />
digitalWrite(greenPin, HIGH); // turn the LED off by making the voltage LOW<br />
}</p>
</div>
	</div>
</div></div></div></div></div><script id="script-row-unique-0" data-row="script-row-unique-0" type="text/javascript" class="vc_controls">UNCODE.initRow(document.getElementById("row-unique-0"));</script></div></div></div>
]]></content:encoded>
					
					<wfw:commentRss>https://espcopter.com/2017/04/30/lesson-2-rgb-leds/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Lesson 1. Blink</title>
		<link>https://espcopter.com/2017/04/30/lesson-1-blink/</link>
					<comments>https://espcopter.com/2017/04/30/lesson-1-blink/#respond</comments>
		
		<dc:creator><![CDATA[metehanemlik]]></dc:creator>
		<pubDate>Sun, 30 Apr 2017 21:17:08 +0000</pubDate>
				<category><![CDATA[Basic Lessons]]></category>
		<category><![CDATA[drone espcopter]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[blink]]></category>
		<category><![CDATA[first]]></category>
		<guid isPermaLink="false">http://espcopter.com/?p=340</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[<div data-parent="true" class="vc_row row-container" id="row-unique-1"><div class="row limit-width row-parent"><div class="wpb_row row-inner"><div class="wpb_column pos-top pos-center align_left column_parent col-lg-12 single-internal-gutter"><div class="uncol style-light"  ><div class="uncoltable"><div class="uncell no-block-padding" ><div class="uncont"><div class="wpb_content_element"  >
	<div class="messagebox_text style-color-jevc-bg"><p>/*</p>
<p>Blink ESPcopter</p>
<p>By Metehan Emlik</p>
<p>*/</p>
<p>int bluePin = 16; // Düz<br />
int redPin = 2; //Ters<br />
int greenPin = 0; //Ters</p>
<p>int bekleme = 500;<br />
// the setup function runs once when you press reset or power the board<br />
void setup() {<br />
// initialize digital pin LED_BUILTIN as an output.<br />
pinMode(bluePin, OUTPUT);<br />
pinMode(redPin, OUTPUT);<br />
pinMode(greenPin, OUTPUT);<br />
}</p>
<p>// the loop function runs over and over again forever<br />
void loop() {<br />
digitalWrite(bluePin, HIGH); // turn the LED on (HIGH is the voltage level)<br />
delay(bekleme); // wait for a second<br />
digitalWrite(bluePin, LOW); // turn the LED off by making the voltage LOW</p>
<p>delay(bekleme); // wait for a second<br />
}</p>
</div>
	</div>
</div></div></div></div></div><script id="script-row-unique-1" data-row="script-row-unique-1" type="text/javascript" class="vc_controls">UNCODE.initRow(document.getElementById("row-unique-1"));</script></div></div></div>
]]></content:encoded>
					
					<wfw:commentRss>https://espcopter.com/2017/04/30/lesson-1-blink/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
