Pages: [1]   Go Down
Author Topic: thanks all for helping with my ( out of my depth ) project !  (Read 1036 times)
0 Members and 1 Guest are viewing this topic.
Cape Town South Africa
Offline Offline
Edison Member
*
Karma: 19
Posts: 1217
A newbie with loads of posts, and still so much to learn !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks to all you guys that helped me getting my video/audio announcer going at last.

I have battled the last couple of weeks with getting queued numbers to play in the right order, it would drop some numbers, and sometimes announce one number while displaying the next.

Early on I had a prototype that didn't queue, and the SD card reader and WaveHC library was working fine, even though I can not understand half the instructions used.

I had another look at the sample sketch that I had copied to load and play from the SD card, and found
 
Code:
void playfile(char *name) {
  // see if the wave object is currently doing something
if (wave.isplaying) {// already playing something, so stop it!
 //  wave.stop(); // stop it

Duh,   smiley-sad-blue I wish I had seen that a while ago !  Not exactly cryptic is it :-) 

With it commented out, everything is running wonderfully, it will faithfully display and announce up to 10 messages in the queue.

I love my Arduino again  smiley   Thanks guys
Logged

With my mobile phone I can call people and talk to them -  how smart can you get ?

Pages: [1]   Go Up
Jump to: