By default TGA_PRO_MEM2_EXP doesn't run midi/mem tests, you must uncomment them

master
Steve Lascos 6 years ago
parent a32ee2c3d1
commit d0a4ff5b3c
  1. 4
      examples/Tests/TGA_PRO_MEM2_EXP/PhysicalControls.cpp
  2. 6
      examples/Tests/TGA_PRO_MEM2_EXP/TGA_PRO_MEM2_EXP.ino

@ -72,6 +72,10 @@ void checkSwitch(unsigned id)
ledHandle = led1Handle;
}
if (controlPtr->isSwitchToggled(swHandle)) {
Serial.println(String("Button ") + id + String(" pressed"));
}
bool pressed = controlPtr->isSwitchHeld(swHandle);
controlPtr->setOutput(ledHandle, pressed);
}

@ -42,9 +42,9 @@
*
*/
#define RUN_MIDI_TEST // Comment out or delete this line to skip the MIDI test.
#define RUN_MEMO_TEST // Comment out or delete this line to skip the MEM0 test.
#define RUN_MEM1_TEST // (Teensy 3.5/3/6 only!) Comment out or delete this line to skip the MEM1 test.
//#define RUN_MIDI_TEST // Uncomment this line to skip the MIDI test.
//#define RUN_MEMO_TEST // Uncomment this line to skip the MEM0 test.
//#define RUN_MEM1_TEST // (Teensy 3.5/3/6 only!) Comment out or delete this line to skip the MEM1 test.
#include <Audio.h>

Loading…
Cancel
Save