     Serial.begin(9600);
     Scheduler::init();
     Scheduler::addTask(output, 1000);
-    shield.decimalPointOn();
+    shield.setDecimalPoint(true);
     playMelody();
 }
 

      playTone(tones[i], duration);
  }
}


{
  for (long i = 0; i < duration * 1000L; i += tone * 2)
  {
    shield.setBuzzer(true);
    delayMicroseconds(tone);
    shield.setBuzzer(false);
    delayMicroseconds(tone);
  }
}
