How do I play a singe tone?

Ok, so it's just like an LED, you give a # pin a # power level and it plays a tone.

Thanks