Code example for ToneGenerator

Methods: sleep, startTone, stopTone