Skip to content

Simple function to make a connected blink(1) device flash a given input in morse code

Notifications You must be signed in to change notification settings

AlexVulaj/blink1-morse-code

Repository files navigation

Blink(1) Morse Code

Blink(1) Morse Code is a simple function to make a connected blink(1) device flash a given input in morse code.

Requirements

  • An installed blink(1) device

Usage

  1. Run npm i blink1-morse-code.
  2. Add to your project
const {blinkMorse} = require('blink1-morse-code')

blinkMorse('Hello', {ditLengthMs: 200, color: '#6c57ad'})

Testing

Tests can be run with npm test.

Contributing

  1. Fork this repository on GitHub
  2. Clone the project to your own machine
  3. Commit changes to your own branch
  4. Push your work back up to your fork
  5. Submit a pull request
    1. Please be sure to rebase your branch from the latest "upstream" before making a pull request

About

Simple function to make a connected blink(1) device flash a given input in morse code

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •