You can now engage with this CLOVER activity in our new learning platform, The Quad, by going to quad.4-h.org.

Functions

Authored by Authored by Rachel S. Haselby, Dr. Ankita Raturi, and Autumn Denny of Purdue University.
In this activity, you will learn how to create functions to be reused throughout the code. You will also learn about inputs and outputs and how to group logic into pieces. We will use an Arduino program and a Wokwi simulator to create a two-button math counter.
By the end of this activity, you’ll be able to define the word function, understand how to use functions, explain inputs and outputs, and create functions using a standard formula. For this activity, please use a desktop or laptop computer. Mobile devices are not supported.
Start on Quad
Overview
Grades 7-9
30 min
Topics
Computer Science

More activities like this