|
|
@@ -542,6 +542,15 @@ span.mainfunction {color: #993300; font-weight: bolder} |
|
|
|
<p class=exam>File > Examples > OctoWS2811 > SpectrumAnalyzer |
|
|
|
</p> |
|
|
|
<h3>Notes</h3> |
|
|
|
<p><b>analogRead() must not be used</b>, because AudioInputAnalog is regularly |
|
|
|
accessing the ADC hardware. If both access the hardware at the same |
|
|
|
moment, analogRead() can end up waiting forever, which effectively |
|
|
|
crashes your program. |
|
|
|
</p> |
|
|
|
<p>AudioInputAnalog has a |
|
|
|
<a href="https://github.com/PaulStoffregen/Audio/issues/96">known bug</a> |
|
|
|
at 72 MHz. Use 48 or 96 MHz clock speed (Tools > CPU Speed menu). |
|
|
|
</p> |
|
|
|
<p>A different pin may be used, but adding it as an parameter |
|
|
|
to the AudioInputAnalog object definition. |
|
|
|
</p> |