   Particle.variable("freeMemory", freeMemory);
   Particle.function("alarm", handleAlarm);
 
-  /*Display.setFont(COMICS_8);*/
   #if defined COLOR_SCREEN
   Display.fillScreen(BLACK);
   #else

}

void enterAlarm() {
  AlarmRuntime.start();
  RGB.color(0, 0, 255);

  /*parser = new AlarmToneLanguage(song);*/
  /*Player.reset();*/
}

void updateAlarm() {
  RGB.brightness(map(abs((millis() % 2000) - 1000), 0, 1000, 0, 255));

  // TODO: Remove when snooze/terminate functionality is implemented
  if(AlarmRuntime.check(ALARM_LENGTH)) {
    stateMachine.transitionTo(Clock);
  }
}

void exitAlarm() {
  /*Player.stop();*/
  noTone(speakerPin);

  RGB.color(0, 0, 0);

}

/*void play() {
  if(playerRuntime.check(parser->getDuration())) {
    if(parser->next()) {
      parser->isRest() ? noTone(speakerPin) : tone(speakerPin, parser->getNote(), parser->getDuration());
    }
