
The piezo can be connected to digital outputs, and will emit a tone when the output is high. Alternatively it can be connected to an analog pulse-width modulation output to generate various tones and effects.
For all Grove users (especially beginners), we provide you guidance PDF documents.