IFD:EAI SoS21/course material/Session 6: Getting Started with Teensyduino: Difference between revisions

From Medien Wiki
No edit summary
Line 22: Line 22:
   sgtl5000_1.micGain(36); //from 0dB 40dB
   sgtl5000_1.micGain(36); //from 0dB 40dB
   sgtl5000_1.volume(0.8); // from 0.0 to 1.0 // 0.8 standard
   sgtl5000_1.volume(0.8); // from 0.0 to 1.0 // 0.8 standard
}
void loop(){
// nothing to be done here
// it just needs to be declared to compile correctly :)
}
}
</syntaxhighlight>
</syntaxhighlight>