Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
11 years, 2 months ago. This question has been closed. Reason: Question answered completely
Need some reverse engineering help
Hello all,
My first mbed project is still under way. I am trying to get Steve Ravet's Big Mouth Billy Bass project going, but I have been having a difficult time due to lack of documentation and lack of sample files. I have contacted the author and he offered to help, but that was weeks ago and I don't get any response now. I tried another fellow who had posted on the project and he offered to help, but I never heard from him again either. I dont have anymore contacts to solicit, so I am hoping someone can help me determine what the format of the "fish.txt" file is supposed to be. I have sample parameters that seem to work ok using his WAV playback library, so just getting the format of the text file should get me going again.
Import programbilly
The Big Mouth Billy Bass program
So if someone out there has the sample files or can help me decode what this program expects in /sd/fish.txt I would really appreciate it.
-Ken
1 Answer
11 years, 2 months ago.
Based on a quick scan of the code, I think the /sd/fish.txt file should look something like:
/sd/file1.wav /sd/file1.txt /sd/file2.wav /sd/file2.txt # Anything after # is ignored as comment.
You need to place the referenced .wav and .txt (movement) files on the SD card as well. I believe that the format of the movement text files are something like:
# Lines can start with # to indicate whole line is comment. # First field is time in milliseconds when you want motion to occur. # Second field indicates part to move. One of body, mouth, or tail # Third field is a duty cycle from 0 to 100. # The following line would start moving body at 10 millisecond mark. 10 body 100 # The following would stop body movement at 1 second mark. 1000 body 0