Morse code encoder library
Diff: morse.h
- Revision:
- 4:e0cc0df745ef
- Parent:
- 3:9c975c0e2342
--- a/morse.h Thu Aug 07 00:15:05 2014 +0000 +++ b/morse.h Sat Dec 06 00:00:53 2014 +0000 @@ -3,8 +3,23 @@ #include "mbed.h" -/** @file - * class to generate Morse code tone and keying signal. +/** + * @file morse.h + * Project morse code handling Library + * @brief morse code handling library for mbed + * @version 1.0 + * @author Chuck Timber + * @date 07/08/2014 + */ +/** + * @file morse.cpp + * Project morse code handling Library + * @brief morse code handling library for mbed + * @version 1.0 + * @author Chuck Timber + * @date 07/08/2014 + */ +/** class to generate Morse code tone and keying signal. * sound with a buzzer, based on a PwmOut, * keying signal base on a DigitalOut * @@ -39,12 +54,13 @@ */ namespace mbed { -/* Class: Morse +/** Class: Morse * A class whitch uses pwm and digitalout to generate morse tone and signal. */ class Morse { private: + /// morse speed conversion table static const float table[128]; float cw_tick; int tick_idx;