CS212 Lab 7

CS-212
Lab7



Purpose: The purpose of this lab is to give you a brief introduction to C++ and some of the concepts of Object Oriented programming.

Description:

Part 1: Re-do Lab 4 as a set of C++ classes and a C++ main program. On Ubuntu the command to compile is g++ rather than gcc and your file typt must be .cpp instead of.c . Much of the code you have written for Lab 4 can be reused.

Part 2: Re-do the Arduino part of lab 5 but this time use the Arduino compiler (not AVR Studio) and use the serial I/O functions provided by the Arduino compiler. Note - the Arduino compiler is a C++ compiler

Instructions (Ubuntu)

Instructions (Arduino)



Due: 05/13/2011 midnight. Submission after this will not be accepted.