Added new incomplete AudioOutputHost Host LowLevel demo.

This commit is contained in:
Dean Camera 2011-05-30 11:36:21 +00:00
parent 2a26efc691
commit 68468e0aea
12 changed files with 1351 additions and 8 deletions

View file

@ -43,7 +43,7 @@ int main(void)
{
SetupHardware();
puts_P(PSTR(ESC_FG_CYAN "Audio Host Demo running.\r\n" ESC_FG_WHITE));
puts_P(PSTR(ESC_FG_CYAN "Audio Input Host Demo running.\r\n" ESC_FG_WHITE));
LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
sei();
@ -208,7 +208,7 @@ void Audio_Task(void)
/* Sample reload timer initialization */
TIMSK0 = (1 << OCIE0A);
OCR0A = ((F_CPU / 8 / 8000) - 1);
OCR0A = ((F_CPU / 8 / 48000) - 1);
TCCR0A = (1 << WGM01); // CTC mode
TCCR0B = (1 << CS01); // Fcpu/8 speed