A program to automatically tune a guitar. Written by Justin Reidhead and Steven Swenson

Dependencies:   FFT FrequencyFinder Motor NewTextLCD PinDetect mbed strings

Revision:
4:e370f322a697
Parent:
3:c672e782f19b
Child:
5:c0fd99f07536
--- a/strings/strings.cpp	Mon Apr 16 22:29:41 2012 +0000
+++ b/strings/strings.cpp	Mon Apr 16 23:17:49 2012 +0000
@@ -148,11 +148,11 @@
 
 void strings::inc_index() {
     index++;
-    if (index>9)
+    if (index>=9)
         index=0;
 }
 
-std::string strings::get_note() {
+char* strings::get_note() {
     return notes[index];
 }