Skip to content
  • Homepage
  • Arduino Courses
  • Raspberry Pi Courses
  • Products Review

SunFounder Programming Education

Arduino and Raspberry Pi Courses for Beginners

  • Homepage
  • Arduino Courses
  • Raspberry Pi Courses
  • Products Review
  • Home
  • Raspberry Pi Courses
  • Raspberry Pi LESSON 8: Using a Button as a Toggle Switch for LED Control
Raspberry Pi Courses

Raspberry Pi LESSON 8: Using a Button as a Toggle Switch for LED Control

December 22, 2022December 22, 2022 Mike

In this lesson I will show how to use a button switch for toggle control of an LED. Press the button once, the LED comes on. Press it again, and the LED goes off. You do not have to hold the button down.

Related Posts

Raspberry Pi Courses

Raspberry Pi LESSON 40: How to Set Up a Remote Desktop on Raspberry Pi Using VNC

December 22, 2022December 22, 2022 Mike
Raspberry Pi Courses

Raspberry Pi LESSON 39: Remotely Run Your Security Project Using Putty

December 22, 2022December 22, 2022 Mike

Post navigation

Previous: Raspberry Pi LESSON 7: GPIO Inputs from Button Switch
Next: Raspberry Pi LESSON 9: Using GPIO Pins for PWM to Simulate Analog Output (Pulse Width Modulation)
All Rights Reserved 2024.
Proudly powered by WordPress | Theme: Fairy by Candid Themes.