Difference: Switches (2 vs. 3)

Revision 32020-05-20 - UliRaich

Line: 1 to 1
 
META TOPICPARENT name="Exercises"

Exercise 3: Switches

Introduction

Line: 28 to 28
 

Exercise 3:

Combine this exercise with the exercise on LEDs: Switch the builtin LED on when the button is pressed and off when it is released

Added:
>
>

Exercise 4:

Write a program scanning the PIR sensor, indicating if a person is close. The PIR sensor, just like the push button, uses a single GPIO line as input. The boards allows to choose which GPIO to use and I selected D4 = GPIO 16

  -- Uli Raich - 2020-05-06
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback