Modified demo code. Added cPilotTone. Tone pilot not tested yet.