<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Polling on BatSTEM Academy</title><link>https://docs.batstem.com/en/tags/polling/</link><description>Recent content in Polling on BatSTEM Academy</description><generator>Hugo</generator><language>en</language><lastBuildDate>Wed, 02 Apr 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://docs.batstem.com/en/tags/polling/index.xml" rel="self" type="application/rss+xml"/><item><title>L7: The pushbutton</title><link>https://docs.batstem.com/en/docs/l7-the-pushbutton/</link><pubDate>Wed, 02 Apr 2025 00:00:00 +0000</pubDate><guid>https://docs.batstem.com/en/docs/l7-the-pushbutton/</guid><description>&lt;h1 id="the-pushbutton">The pushbutton&lt;a class="td-heading-self-link" href="#the-pushbutton" aria-label="Heading self-link">&lt;/a>&lt;/h1>
&lt;h2 id="what-you-will-learn-in-this-lesson">What you will learn in this lesson&lt;a class="td-heading-self-link" href="#what-you-will-learn-in-this-lesson" aria-label="Heading self-link">&lt;/a>&lt;/h2>
&lt;p>In this lesson, we will cover:&lt;/p>
&lt;ul>
&lt;li>What a pushbutton is and how it works.&lt;/li>
&lt;li>The difference between input and output devices.&lt;/li>
&lt;li>Making decisions in our programs: the &amp;ldquo;if&amp;hellip;do&amp;hellip;else&amp;rdquo; block.&lt;/li>
&lt;li>Reading the state of a pushbutton from our program to control an LED.&lt;/li>
&lt;/ul>
&lt;h2 id="prerequisites">Prerequisites&lt;a class="td-heading-self-link" href="#prerequisites" aria-label="Heading self-link">&lt;/a>&lt;/h2>
&lt;p>To follow this lesson, you should be familiar with the basic LED circuit covered in &lt;a href="../l1-internal-led/">&lt;em>Lesson 1: My first project&lt;/em>&lt;/a>, &lt;a href="../l2-the-led-diode/">&lt;em>Lesson 2: The LED diode&lt;/em>&lt;/a> and &lt;a href="../l3-the-led-diode-2/">&lt;em>Lesson 3: The LED diode (2)&lt;/em>&lt;/a>.&lt;/p></description></item></channel></rss>