Functions | Variables
morse_code Namespace Reference

Functions

def transmit_string

Variables

int DASH = 3
int DOT = 1
int GAP = 1
int GPIO = 22
int LETTER_GAP = 3
int MICROS = 100000
dictionary morse
int NONE = 0
tuple pi = pigpio.pi()
int WORD_GAP = 7

Function Documentation

def morse_code.transmit_string (   pi,
  gpio,
  str 
)

Definition at line 28 of file morse_code.py.


Variable Documentation

Definition at line 21 of file morse_code.py.

int morse_code::DOT = 1

Definition at line 22 of file morse_code.py.

int morse_code::GAP = 1

Definition at line 24 of file morse_code.py.

int morse_code::GPIO = 22

Definition at line 15 of file morse_code.py.

Definition at line 25 of file morse_code.py.

int morse_code::MICROS = 100000

Definition at line 17 of file morse_code.py.

dictionary morse_code::morse
Initial value:
00001 {
00002 'a':'.-'   , 'b':'-...' , 'c':'-.-.' , 'd':'-..'  , 'e':'.'    ,
00003 'f':'..-.' , 'g':'--.'  , 'h':'....' , 'i':'..'   , 'j':'.---' ,
00004 'k':'-.-'  , 'l':'.-..' , 'm':'--'   , 'n':'-.'   , 'o':'---'  ,
00005 'p':'.--.' , 'q':'--.-' , 'r':'.-.'  , 's':'...'  , 't':'-'    ,
00006 'u':'..-'  , 'v':'...-' , 'w':'.--'  , 'x':'-..-' , 'y':'-.--' ,
00007 'z':'--..' , '1':'.----', '2':'..---', '3':'...--', '4':'....-',
00008 '5':'.....', '6':'-....', '7':'--...', '8':'---..', '9':'----.',
00009 '0':'-----'}

Definition at line 5 of file morse_code.py.

Definition at line 19 of file morse_code.py.

Definition at line 57 of file morse_code.py.

Definition at line 26 of file morse_code.py.



cob_hand_bridge
Author(s): Mathias L├╝dtke
autogenerated on Thu Jun 6 2019 20:43:57