Use Buttons

Learn how to use your buttons!

Setup

All you need for this project is the Getting Started Kit.

Getting Started Kit

Code

Run Your Program

When you push your red button, your red LED will turn on!

Practice

  1. Turn on your green LED if your green button is pressed.
  2. Turn on the red LED with the green button, and the green LED with the red button.
  3. Investigate what happens when you press the checkbox next to the button pressed block:

What are Phidgets?

Phidgets are programmable USB sensors. Simply plug in your sensor, write code in your favorite language and go!

Phidgets have been used by STEM professionals for over 20 years and are now available to students.

Learn more

Set your preferences

Windows

Mac OS

Raspberry Pi

Java

Python

C#

Swift

NetBeans

Processing

Eclipse

Thonny

PyCharm

PyScripter

Visual Studio

Xcode

Setting your preferred operating system, programming language and environment lets us display relevant code samples for the Getting Started Tutorial, Device Tutorials and Projects

Done