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

Dependencies:   FFT FrequencyFinder Motor NewTextLCD PinDetect mbed strings

strings/strings.h

Committer:
melangeaddict
Date:
2012-04-17
Revision:
5:c0fd99f07536
Parent:
4:e370f322a697
Child:
7:057bcd99a3f8

File content as of revision 5:c0fd99f07536:

#pragma once
#include "string"

class strings
{
public:
    strings(int string_num);
    strings();
    ~strings(void);

    void inc_index();
    void reset_index();
    char* get_note();
    float get_freq();
    
    protected:
    void set_values(int string_num);

private:
    float frequencies[9];
    char *notes [9];
    int index;
};