diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-11-29 17:55:13 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-11-29 17:58:09 +0100 |
commit | 3e02a4455157422eebfc718bbbc66b0c7ea16d2e (patch) | |
tree | a144802a18f6090fed3bf20cfe9a9b594ce092a7 /src/testapp1/morse.h | |
parent | 679a15419631545dfd72c2cecb5385f74ecca0d3 (diff) | |
download | renard_hb9hi-3e02a4455157422eebfc718bbbc66b0c7ea16d2e.tar.gz renard_hb9hi-3e02a4455157422eebfc718bbbc66b0c7ea16d2e.tar.bz2 renard_hb9hi-3e02a4455157422eebfc718bbbc66b0c7ea16d2e.zip |
Fix morse routine, add LED output
Diffstat (limited to 'src/testapp1/morse.h')
-rw-r--r-- | src/testapp1/morse.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/testapp1/morse.h b/src/testapp1/morse.h new file mode 100644 index 0000000..68cebb1 --- /dev/null +++ b/src/testapp1/morse.h @@ -0,0 +1,12 @@ +#ifndef __MORSE_H_ +#define __MORSE_H_ + +#define DIT_DURATION 100 // ms + +void morse(char* text); + +void dah(void); +void dit(void); + +#endif + |