<h1 id="sound-sensor">Sound Sensor</h1><h2 id="measuresound">measureSound</h2><h3 id="description">Description</h3><p>measure the ambient sound volume</p><h3 id="config">Config</h3><p><code>pin</code>: int. the aio pin which is attached by the sensor</p><h3 id="input">Input</h3><p><code>trigger</code>: any type. trigger signal, and whenever it comes, the sensor will measure and report the sound volume.</p><h3 id="output">Output</h3><p><code>value</code>: number. the volume of the sound</p><h3 id="example">E