4180 Morse / Mbed 2 deprecated morseCode_1_1

Dependencies:   mbed 4DGL-uLCD-SE

Fork of morseCode_1 by 4180 Morse

Committer:
Jeco13
Date:
Wed Apr 18 01:16:06 2018 +0000
Revision:
3:6e52b66c5a0c
Parent:
1:c4b5892da7ee
Child:
4:62c590826ddb
Text_to_morse function written

Who changed what in which revision?

UserRevisionLine numberNew contents of line
colson 0:4e10b6c94be9 1 #include "mbed.h"
colson 0:4e10b6c94be9 2
Jeco13 3:6e52b66c5a0c 3 //Part 1
Jeco13 3:6e52b66c5a0c 4 //Main takes in string text input from bluetooth module. Store in string variable
Jeco13 3:6e52b66c5a0c 5 //call text_to_morse function on each character from input string variable
Jeco13 3:6e52b66c5a0c 6
colson 0:4e10b6c94be9 7 DigitalOut myled(LED1);
colson 0:4e10b6c94be9 8
colson 0:4e10b6c94be9 9 int main() {
colson 0:4e10b6c94be9 10 while(1) {
colson 0:4e10b6c94be9 11 myled = 1;
colson 0:4e10b6c94be9 12 wait(0.2);
colson 0:4e10b6c94be9 13 myled = 0;
Jeco13 1:c4b5892da7ee 14 wait(0.2);//repository
colson 0:4e10b6c94be9 15 }
colson 0:4e10b6c94be9 16 }