Classes let you re-use the same function on multiple objects, which eliminates the need to have multiple copies of the same code in a program. This makes your code much simpler and far more efficient. In this video we learn how classes and objects work in Arduino programs and how to write your own classes to simplify your code! This is tutorial #20 in the Ultimate Guide to the Arduino, a complete video course on the Arduino microcontroller with 45 lessons that are designed to teach anyone how to master the Arduino at any skill level. Visit our YouTube channel page to watch the entire series! Get the 3-in-1 Arduino Smart Car and IOT Learning Kit from SunFounder here: Or get the kit from Amazon: US Amazon: DE Amazon: JP Amazon: UK Amazon: CA Amazon: Get an Arduino Uno from SunFounder here: Visit the webpage for this video tutorial on Circuit Basics for wiring diagrams and example code: And be sure to check out the Circuit Basics blog and social media for more articles and tutorials on the Raspberry Pi, Arduino and other DIY electronic projects! Facebook: Twitter: Instagram:











