//destructor
CalliopeSoundMotor::~CalliopeSoundMotor()
{
    system_timer_remove_component(this);
}
/**
  * Destructor for MicroBitDisplay, where we deregister this instance from the array of system components.
  */
MicroBitDisplay::~MicroBitDisplay()
{
    system_timer_remove_component(this);
}