AudioPlaySdWav' playWav1; // Play 44.1kHz 16-bit PCM greeting WAV file
There should not be a single quote in that statement.
If there are any other errors, post all your code (in code tags please).
Pete
It is expecting you to pass a valid date and time . If you want to do arithmetic on the date, you have to do it yourself and make sure that the result is valid before passing it to settime. The best way to do this is to...
AHA. settime stores its arguments in a tmElements_t structure and then calls maketime() to convert that structure to a time_t (number of seconds).
BUT, all the elements of a tmElements_t structure are declared to be...
The problem is, as you say, caused when the value of minute() is zero and you therefore pass minus one as the value for the minute. I haven't figured out yet why that blows up the time library.
Pete
The answer to the first question is spot on and the solution to the second one is trivial, given the answer to the first.
But then it loses the plot at the third question. It reverts to planar geometry to solve the...
It's actually a multi-part thing that builds up to the big one. I'll have to type it up and I'll PM it. If anything interesting comes of it, you can post the results :)
Pete
I have a problem I'm trying to solve and thought it would be neat to see if it could even get close to an answer.
But I don't need to know that badly.
Pete
I was going to try it but in order to register they want name, email address (OKish, so far) and phone number (NOPE).
They don't need my phone number.
Pete
Your code compiled for me when I set the USB type to "Serial + MIDI + Audio".
Sketch uses 116360 bytes (11%) of program storage space. Maximum is 1048576 bytes.
Global variables use 175476 bytes (66%) of dynamic...