Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of Lab3 by
Revision 2:32877f6a2396, committed 2016-08-15
- Comitter:
- mattshuman
- Date:
- Mon Aug 15 05:10:41 2016 +0000
- Parent:
- 1:5acff8f2f664
- Commit message:
- Added comments to main.cpp
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sat Aug 13 19:18:11 2016 +0000 +++ b/main.cpp Mon Aug 15 05:10:41 2016 +0000 @@ -2,6 +2,14 @@ #include "Music.h" #include "AnalogIn.h" +/*! Main class. + * Creates an instance of the Music class, and then connects it to an output, which should + * be connected to a small speaker. + * \author Matthew Shuman + * + * \date August 14th, 2016 + */ + #define STARTING_NOTE 40 AnalogIn readValue(A0);