Week 6. Segment 1: Object Oriented Programming in Arduino Sketches
In this segment we will learn to use Object Oriented (OO) Programming. OO is a great way to generate well-structured Arduino sketches with a minimum of programming bugs. Furthermore, objects are a nice way to share code for the operation of standard hardware devices (LCD, ICs etc...) connected to the Arduino.
Goals:
In-Class Project (and probably homework):
Materials for this segment:
|
Improved sketch that uses an array to access the objects:
|