ScratchData LogoScratchData
Back to MrFlightless's profile

Morse Code Encoder/Decoder

MRMrFlightless•Created July 13, 2017
Morse Code Encoder/Decoder
0
0
11 views
View on Scratch

Instructions

Click the green wavy thing on the green straight thing to start the program Click the red polygon that has 8 sides to stop the program Push the UP or DOWN arrow keys to cycle between encoding text to Morse Code, decoding Morse Code to text, or automatically determining whether to encode or decode the input.

Description

This is a program based on my ASCII encoder that I made a while ago that I just recently got around to finishing and sharing. This program uses the character codes from the International Morse Code. It uses .'s (periods) for dots and -'s (hyphens) for dashes, and it has 1 space between characters (like "ab" .- -...) and 3 spaces between words (like "hi person" .... .. .--. . .-. ... --- -.) for some reason when it encodes it adds a space to the very beginning but it is ignored when decoding. It supports all 26 letters (case insensitive), all ten numbers (0123456789) and a bunch of punctuation marks that I got from Wikipedia (.,?@'!/()&:;=+-_"$@). Changelog: July 12 2017: Shared

Project Details

Project ID168724532
CreatedJuly 13, 2017
Last ModifiedJuly 13, 2017
SharedJuly 13, 2017
Visibilityvisible
CommentsAllowed