void beep(void)
Generate a 100 milliseconds long beep tone with frequency 945 Hz.
void sound(int freq, int vol)
Generate sound with specified frequency in Hertz and volume in the range between 0 and 1000.
The sound will continue until a new sound() function sets different parameters. It can be stopped completely by supplying 0 to either the frequency or the volume parameters, or both.