Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 769 Bytes

File metadata and controls

32 lines (21 loc) · 769 Bytes

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