Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed 4DGL-uLCD-SE
Fork of morseCode_1 by
Diff: main.cpp
- Revision:
- 6:421ece74143e
- Parent:
- 5:5b86521e418c
- Child:
- 8:78b057dd6da4
--- a/main.cpp Sun Apr 29 01:04:11 2018 +0000 +++ b/main.cpp Sun Apr 29 16:57:29 2018 +0000 @@ -3,7 +3,12 @@ #include <iostream> #include <string> - +//To-do list: +//Bluetooth input for strings +//Modify dot/dash for speaker/LED output +//Give user output/UI for game +//Traverse the tree using telegraph key +//Make menus/UI look pretty @@ -13,8 +18,14 @@ int main() { + //Variable word list for the game portion + //Feel free to add words, just update the array size + string wordlist[20] = {"Dog","Cat","Car","Tree","Star","Radio","Tea","Book","Hello","Bank","Bird","Bus","Red","Green","Blue","Coat","Dress","Shirt","Egg","Pear"}; + + //Can I put these ^v in the header? I really can't remember + //Creation of the binary search tree// - //I need to insert 2,8,9,0,+ + //I need to insert 2,8,9,0,+// Tree * newRoot; newRoot->insertdot('e', newRoot); Tree * eNode = newRoot->dot;