A program to automatically tune a guitar. Written by Justin Reidhead and Steven Swenson
Dependencies: FFT FrequencyFinder Motor NewTextLCD PinDetect mbed strings
Diff: Motor/Motor.h
- Revision:
- 15:bb2bc286f44b
- Parent:
- 14:fd59e7acf2e5
diff -r fd59e7acf2e5 -r bb2bc286f44b Motor/Motor.h --- a/Motor/Motor.h Thu Apr 26 22:20:53 2012 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -#pragma once -#include "mbed.h" -#include "string.h" - -using namespace std; - -class Motor { - -public: - - Motor(PinName enable,PinName direction,PinName step); - ~Motor(); - - void motor_turn(int, int); - -private: - DigitalOut _enable; - DigitalOut _direction; - PwmOut _step; -}; \ No newline at end of file