Arduino Tutorial 28: Using a Pushbutton as a Toggle Switch

13 13 views
1y Sep 17, 2019

In this lesson we learn how to use a pushbutton as a toggle switch in Arduino Projects. This uses the same circuit as was used in Lesson 27, but we add the toggle feature to the software.

You can get the kit I am using for this series at the following link:

Also, you can get the Mastech Digital Voltmeter I am using here:

Check out our most awesome web site here:

You guys can help me out over at Patreon, and that will help me keep my gear updated, and help me keep this quality content coming:

[Disclosure of Material Connection: I am a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to This means if you visit the link and purchase the item, I will receive an affiliate commission. Regardless, I only recommend products or services I use personally and believe will add value to my readers.]

About Paul McWhorter

I am Paul McWhorter from and I will be putting together a series of tutorials on use of the Arduino microcontroller.


Markdown is supported.
EEVblog – E1265
12 months ago
EEVblog – E365
8 years ago
EEVblog – E1303
6 months ago