#define BUTTON_PIN 14
#define LED 3
#define SPEAKER_PIN 15

#include "pitch.h"
#include <LiquidCrystal.h>

LiquidCrystal lcd(12, 11, 10, 9, 8, 7); 

const uint8_t buttonPins[] = { 15 };
const int Tones[] = {
  NOTE_E5, NOTE_E5, NOTE_E5, NOTE_C5, NOTE_E5, NOTE_G5, NOTE_AS5,
  NOTE_B5, NOTE_D5
};
const int numTones = sizeof(Tones) / sizeof(Tones[0]);
void setup() {
    lcd.begin(16, 2);
    lcd.print("(>>SUPER MARIO<<)");
    lcd.setCursor(3, 1);
    lcd.print("(>>SONG<<)");
    

    pinMode( LED, OUTPUT);

    
  for (int i = 0; i < numTones; i++) {
      int pitch = Tones[i];
      tone(SPEAKER_PIN, pitch);
      digitalWrite (VIOLET_PIN, HIGH); 
      delay(10); 
      noTone(SPEAKER_PIN);
      digitalWrite (VIOLET_PIN, LOW); 
      delay(10); 
    }
    lcd.clear();

  
}
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT