Skip to content
This repository has been archived by the owner on Aug 5, 2021. It is now read-only.
/ MorsDuino Public archive

The lightweight Arduino Library for generating Morse code on LEDs, light strips, and speakers

License

Notifications You must be signed in to change notification settings

voltangle/MorsDuino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MorsDuino

arduino-library-badge

The lightweight Arduino Library for generating Morse code on LEDs, light strips, and speakers. Every Arduino board is supported(library uses standart Wiring functions).

This repo was not updated for a long time, bugs expected. I will update the repo later, and also move to AVR functions instead of Arduino ones.

What it can do

Usage

#include "MorsDuino.h"

MorsDuino led(13); // Make new instance of MarsDuinoLed class with name 'led'

void setup() {
  Serial.begin(9600); // Start serial on 9600 baud rate
}

void loop() {
  while(!Serial.available()); // Wait until serial has some data
  char data = Serial.read(); // Read data
  led.displayChar(data); // Draw morse on 13 LED
}