I have generated a sequence of frequencies using the tone library, and a Duemilanove, with the tones each lasting a preset duration.
I want to drive a push pull output stage with the tones, and can use an external inverter for the drives.
What I dont want of course is to leave one output transistors on between tone bursts.
Is it possible to digitalWrite an output that I can get from the tone library while it is running, to use for externally gating the drive?
I have used an "isplaying" signal on a project using the wave SD card player
I have had a look in the tone.ccp file, and there is mention of :-
bool Tone::isPlaying(void)
{
bool returnvalue = false;
But I havn't actually dug into libraries before, and do not know what the :: are about ....
Even better would be to generate a complementary output only while the tone is playing ( normally zero )