Morse Code translator for 'PiFace Digital 2' module for RaspberryPi 2

Python


MorsePi

Usage

Run with:

$ python3 morse.py

Personalizing

This part of code prints the translated morse code text to the console. You can comment/delete this part if you don’t want it.

for ch in inp:
	print(CODE[ch.upper()])

Change this number led=0 to set which LED on PiFace will light.