Piano Program

    delayMicroseconds(tone);

What is tone? As far as I know, tone is a function pointer. I can't imagine that delayMicroseconds() expects a function pointer.