Hi,
I wired up myself a TDM board for some awesome multiport fun, but cannot seem to compile the code....I keep getting an errors that include the follwing statement "'AudioInputTDM' does not name a type"....It is probably some dumb mistake. Other than adding some libraries I plan to use in the future the code is pretty much auto-generated from the online GUI Audio System Design Tool. Any help would be much appreciated!
Thanks,
Here is my code:
#include <Wire.h>
#include <TEA5767Radio.h>
#include <Audio.h>
#include <Wire.h>
#include <SPI.h>
#include <SD.h>
#include <SerialFlash.h>
#include <control_cs42448.h>
// GUItool: begin automatically generated code
AudioInputTDM tdm1; //xy=145,160
AudioOutputTDM tdm2; //xy=398,160
AudioConnection patchCord1(tdm1, 0, tdm2, 0);
AudioConnection patchCord2(tdm1, 1, tdm2, 1);
AudioConnection patchCord3(tdm1, 2, tdm2, 2);
AudioConnection patchCord4(tdm1, 3, tdm2, 3);
AudioConnection patchCord5(tdm1, 4, tdm2, 4);
AudioConnection patchCord6(tdm1, 5, tdm2, 5);
AudioControlCS42448 cs42448_1; //xy=148,381
// GUItool: end automatically generated code
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}