This is an example from the eTwinning proyect Scratch and Arduino from east to west between spanish and turkish students Press the key "a" to set the alarm, after that press the key "space" to stop the alarm.