Skip to content

About

CQ CQ CQ DE ARDUINO K

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

157 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MorseCodeMachine

Get started with Arduino by learning Morse code.

Send Morse code using any device that you can blink, move, or beep with your Arduino.

#include <MorseCodeMachine.h>

void setup() {
  pinMode(LED_BUILTIN, OUTPUT);
}

void loop() {
  //From Arduino to anyone.
  sendMorse("CQ CQ CQ DE ARDUINO K", delayLed, ditLed, dahLed);

  //From you to Arduino.
  sendMorse("ARDUINO DE YOU <KN>", delayLed, ditLed, dahLed);
}

void delayLed() {
  delay(200);
}

void ditLed() {
  digitalWrite(LED_BUILTIN, HIGH);
  delayLed();
  digitalWrite(LED_BUILTIN, LOW);
}

void dahLed() {
  digitalWrite(LED_BUILTIN, HIGH);
  delayLed();
  delayLed();
  delayLed();
  digitalWrite(LED_BUILTIN, LOW);
}

Multiple Language Support

See the examples directory to learn how to send Morse Code in another language, such as Greek and Hebrew.

https://github.com/imfrancisd/MorseCodeMachine/tree/master/examples

Documentation

See the src directory to read the documentation for each function in the header files.

https://github.com/imfrancisd/MorseCodeMachine/tree/master/src/arduino

https://github.com/imfrancisd/MorseCodeMachine/tree/master/src/all

Installing the library

Install the library by following the directions here:

https://www.arduino.cc/en/guide/libraries

Install from the Library Manager

Install the library named "MorseCodeMachine" from the Library Manager.

Install from a zip file

Install the zip file of the latest release which can be downloaded here:

https://github.com/imfrancisd/MorseCodeMachine/releases

About

CQ CQ CQ DE ARDUINO K

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages