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

Dependencies:   FFT FrequencyFinder Motor NewTextLCD PinDetect mbed strings

Committer:
melangeaddict
Date:
Sun Apr 15 00:37:37 2012 +0000
Revision:
2:9c0a83c5ded5
Uncommented mbed parts

Who changed what in which revision?

UserRevisionLine numberNew contents of line
melangeaddict 2:9c0a83c5ded5 1 #pragma once
melangeaddict 2:9c0a83c5ded5 2 #include "mbed.h"
melangeaddict 2:9c0a83c5ded5 3 #include "string.h"
melangeaddict 2:9c0a83c5ded5 4
melangeaddict 2:9c0a83c5ded5 5 using namespace std;
melangeaddict 2:9c0a83c5ded5 6
melangeaddict 2:9c0a83c5ded5 7 class Motor {
melangeaddict 2:9c0a83c5ded5 8
melangeaddict 2:9c0a83c5ded5 9 public:
melangeaddict 2:9c0a83c5ded5 10
melangeaddict 2:9c0a83c5ded5 11 Motor(PinName enable,PinName direction,PinName step);
melangeaddict 2:9c0a83c5ded5 12 ~Motor();
melangeaddict 2:9c0a83c5ded5 13
melangeaddict 2:9c0a83c5ded5 14 void motor_turn(int, int);
melangeaddict 2:9c0a83c5ded5 15
melangeaddict 2:9c0a83c5ded5 16 private:
melangeaddict 2:9c0a83c5ded5 17 DigitalOut _enable;
melangeaddict 2:9c0a83c5ded5 18 DigitalOut _direction;
melangeaddict 2:9c0a83c5ded5 19 PwmOut _step;
melangeaddict 2:9c0a83c5ded5 20 };