On 31 December 2018, the microbit.co.uk website was retired.
You can find more information about the shutdown in this support article.
This page previously contained a published script called "mb201: Piezo". While you can no longer view or modify this script in the original editor, we have provided exporters to migrate this script into the new microbit.org editors. You can do this by clicking the button below.
If there is a problem with the migration, please contact micro:bit support: contact micro:bit support