Giter Club home page Giter Club logo

morse-code-interpreter's Introduction

Morse Code Interpreter

Application functionality

The main() function is the single thread in the application. It toggles the state of a digital output connected to an LED on the board.

Note: This example requires a target with RTOS support, i.e. one with rtos declared in supported_application_profiles in targets/targets.json in mbed-os.

Expected output

The LED on your target turns on and off to represent the sent word.

The following are lists describing the dits and dahs for each character set.

English Letters

  • A: dit dah
  • B: dah dit dit dit
  • C: dah dit dah dit
  • D: dah dit dit
  • E: dit
  • F: dit dit dah dit
  • G: dah dah dit
  • H: dit dit dit dit
  • I: dit dit
  • J: dit dah dah dah
  • K: dah dit dah
  • L: dit dah dit dit
  • M: dah dah
  • N: dah dit
  • O: dah dah dah
  • P: dit dah dah dit
  • Q: dah dah dit dah
  • R: dit dah dit
  • S: dit dit dit
  • T: dah
  • U: dit dit dah
  • V: dit dit dit dah
  • W: dit dah dah
  • X: dah dit dit dah
  • Y: dah dit dah dah
  • Z: dah dah dit dit

Single Digit Numbers

  • 0: dah dah dah dah dah
  • 1: dit dah dah dah dah
  • 2: dit dit dah dah dah
  • 3: dit dit dit dah dah
  • 4: dit dit dit dit dah
  • 5: dit dit dit dit dit
  • 6: dah dit dit dit dit
  • 7: dah dah dit dit dit
  • 8: dah dah dah dit dit
  • 9: dah dah dah dah dit

Special Characters

  • .: dit dah dit dah dit dah
  • ,: dah dah dit dit dah dah
  • ?: dit dit dah dah dit dit
  • ': dit dah dah dah dah dit
  • !: dah dit dah dit dah dah
  • &: dit dah dit dit dit
  • :: dah dah dah dit dit dit
  • ;: dah dit dah dit dah dit

Related Links

morse-code-interpreter's People

Contributors

christophermilian avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.