To answer everyone's questions, the program I used is just the melody tutorial (http://www.arduino.cc/tutorial/melody) edited. The delaymicroseconds(tone) is just one of the things I just don't understand. The tone() function is a function that doesn't work with the arduino due. It just says error: tone is not defined My udoo doesn't have anything different with it involving the arduino due side of it also. The speaker I use is a Panasonic sb-pm19 speaker. I didn't say this earlier, but I am trying to make a piano with these buttons. When I press the buttons, they don't make any sound.