资 源 简 介
NewTone Arduino Library
Features
About 1,200 bytes smaller code size than the standard tone library.
Faster execution time.
Exclusive use of port registers for fastest and smallest code.
Higher quality sound output than tone library.
Plug-in replacement for Tone.
Uses timer 1 which may free up conflicts with the tone library.
Download
[Download NewTone v1.0](http://code.google.com/p/arduino-new-tone/downloads/list)
Show Your Appreciation
Help future development by making a small donation (yes, the FreeRingers payee is correct).
Syntax
NewTone( pin, frequency [, length ] ) - Play a note on pin at frequency in Hz.
pin - Pin speaker is wired to (other wire to ground, be sure