Good to hear it works. I personally avoid using D13 for anything since its connected to the onboard led. Connecting it to a piezo may or may not work, and you may get some digital noise on the piezo during startup until you silence it in the setup routine. I've had this minor issue with an esp8266.