Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
morse_code.h@0:08d36e94c961, 2020-03-28 (annotated)
- Committer:
- kabukistarship
- Date:
- Sat Mar 28 03:31:41 2020 +0000
- Revision:
- 0:08d36e94c961
Import code from BlueStorm and format to C++ Style Guide.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
kabukistarship | 0:08d36e94c961 | 1 | /** mbedBug @version 0.x |
kabukistarship | 0:08d36e94c961 | 2 | @link https://github.com/KabukiStarship/mbedbug.git |
kabukistarship | 0:08d36e94c961 | 3 | @file /morse_code.h |
kabukistarship | 0:08d36e94c961 | 4 | @author Cale McCollough <https://cale-mccollough.github.io> |
kabukistarship | 0:08d36e94c961 | 5 | @license Copyright 2016-20 (C) Kabuki Starship <kabukistarship.com>; all rights |
kabukistarship | 0:08d36e94c961 | 6 | reserved (R). This Source Code Form is subject to the terms of the Mozilla |
kabukistarship | 0:08d36e94c961 | 7 | Public License, v. 2.0. If a copy of the MPL was not distributed with this file, |
kabukistarship | 0:08d36e94c961 | 8 | You can obtain one at <https://mozilla.org/MPL/2.0/>. */ |
kabukistarship | 0:08d36e94c961 | 9 | #pragma once |
kabukistarship | 0:08d36e94c961 | 10 | #ifndef MBEDBUG_MORSECODE_DECL |
kabukistarship | 0:08d36e94c961 | 11 | #define MBEDBUG_MORSECODE_DECL |
kabukistarship | 0:08d36e94c961 | 12 | namespace mbedbug { |
kabukistarship | 0:08d36e94c961 | 13 | |
kabukistarship | 0:08d36e94c961 | 14 | /* Gets the Morse code for the given char. */ |
kabukistarship | 0:08d36e94c961 | 15 | const char* CodeMorseEncode (char Value); |
kabukistarship | 0:08d36e94c961 | 16 | |
kabukistarship | 0:08d36e94c961 | 17 | } //< namespace mbedbug |
kabukistarship | 0:08d36e94c961 | 18 | #endif |