This is a simple example of a program that takes as an input morse code and gives text on output or takes as an input text and give on output morse code. It works based on the international morse code.
The following packages must be installed.
sudo apt-get install build-essential cmake git gcc
First download the program from GitHub and go to the simple_morse_decoder_encoder.
% git clone https://github.com/constarg/simple_morse_decoder_encoder.git
% cd simple_morse_decoder_encoder/
After installation the program must be built. In order to build the program, the following instructions must be
followed.
% mkdir build
% cd build/
% cmake ../
% make
The cmake should be from version 3.18 and above, if you do not have this version please go to the following site and download the latest version: https://cmake.org/download/