// Program to play the Star Wars theme song when a button is pressed, // and stops playing the song as soon as the button is released. const int pushButton = 2; const int buzzer = 8; // this function will delay for the given number of milliseconds // it will constantly check for the button release // it will return true immediately if the button is released // it will return false if the button has not been released after the wait bool nonblockingDelay(int millisecond) { for (int i=0; i