721
edits
No edit summary |
No edit summary |
||
Line 31: | Line 31: | ||
AudioMemory(8); | AudioMemory(8); | ||
// Enable the audio shield and set the output volume. | // Enable the audio shield and set the output volume. | ||
sgtl5000_1.enable(); | sgtl5000_1.enable(); | ||
sgtl5000_1.inputSelect(AUDIO_INPUT_MIC); | sgtl5000_1.inputSelect(AUDIO_INPUT_MIC); | ||
Line 38: | Line 38: | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Note that you really need to declare the loop() function, otherwise your code doesn't compile! | Note that you really need to declare the loop() function, otherwise your code doesn't compile!<syntaxhighlight lang="c++"> | ||
<syntaxhighlight lang="c++"> | |||
void loop(){ | void loop(){ | ||
// nothing to be done here | // nothing to be done here |