Skip to main content

Python library to send and receive morse codes on Raspberry Pi

Project description

# morseplay

[![PyPi](https://img.shields.io/pypi/v/morseplay.svg)](https://pypi.org/project/morseplay/) [![Build Status](https://travis-ci.org/ritiek/morseplay.svg?branch=master)](https://travis-ci.org/ritiek/morseplay)

morseplay is a python library to send and receive morse codes on Raspberry Pi.

## Installation & Usage

` $ pip install morseplay `

or if you like to live on the bleeding edge:

` $ python setup.py install `

Check out these examples to learn how to use morseplay:

`python >>> import morseplay # Let's try sending morse signals from an LED >>> LED = morseplay.OutputMorse(outpin=17, setmode=GPIO.BCM, delay_unit=0.3) # This will signal "hello" in morse from LED attached to pin 17 >>> LED.send("hello") # You can also run the signal in background by returning a Thread instance >>> signal = LED.send("hello", threaded=True) >>> signal.start() # Output custom morse code >>> LED.send("-.-- ---", morse=True) # Note that letters are separated by 3 spaces and words are separated # by 7 spaces `

## Contributing

Bug reports, feature requests and even documentation improvements are most welcome!

## License

[![License](https://img.shields.io/github/license/ritiek/morseplay.svg)](https://github.com/ritiek/morseplay/blob/master/LICENSE)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

morseplay-0.1.0-py2.py3-none-any.whl (2.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file morseplay-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for morseplay-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 336127c2b517f31314179a2a22151a2adcdd9abf4048716cad64af71876bc151
MD5 f5a5169714847f700ef93ed13c87ba05
BLAKE2b-256 f18284bbee00030a3ead5b2040622bd17191958a35b57196de3390a8ecc7d1b5

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page