Practice your morse code.
Dependencies: mbed
Diff: Morse_Code.h
- Revision:
- 2:260128ae5746
- Parent:
- 1:ba9c803c7596
--- a/Morse_Code.h Sat Jun 22 23:13:14 2013 +0000 +++ b/Morse_Code.h Thu Jun 27 10:52:29 2013 +0000 @@ -2,7 +2,7 @@ //============================================================== // Morse Code June 30, 2011 John H. Fisher - K5JHF //============================================================== -// Mods for envelope shaping - Tony Abbey 22 June 2013 +// Mods for envelope shaping and different coloured LEDs - Tony Abbey 27 June 2013 #ifndef MORSE_CODE_H #define MORSE_CODE_H @@ -25,7 +25,8 @@ int _Tone_Frequency; - char _LED_Pin, _Speaker_Pin; + char _colour ; + //=================================================================== @@ -47,9 +48,8 @@ Morse_Code ( float WPM_Character = 18.0, float WPM_Speed = 5.0, - int Tone_Frequency = 700, - char LED_Pin = 11, - char Speaker_Pin = 9 ); + int Tone_Frequency = 700, + char colour = 1 ); void Sound_On ( void );