pull/14/head
Blackaddr 4 years ago
parent 3741ab7866
commit 8d6f3c9416
  1. 1
      examples/Delay/SoundOnSoundDemo/SoundOnSoundDemo.ino
  2. 14
      examples/Tests/TGA_PRO_Basic_Test/TGA_PRO_Basic_Test.ino

@ -126,7 +126,6 @@ void setup() {
// Setup MIDI // Setup MIDI
MIDI.begin(MIDI_CHANNEL_OMNI); MIDI.begin(MIDI_CHANNEL_OMNI);
MIDI.setHandleControlChange(OnControlChange); MIDI.setHandleControlChange(OnControlChange);
usbMIDI.setHandleControlChange(OnControlChange); usbMIDI.setHandleControlChange(OnControlChange);
// Configure the LED to indicate the gate status // Configure the LED to indicate the gate status

@ -7,7 +7,6 @@
* - Audio INPUT and OUTPUT JACKS * - Audio INPUT and OUTPUT JACKS
* - Midi INPUT and Midi OUTPUT jacks * - Midi INPUT and Midi OUTPUT jacks
* - MEM0 (if installed) * - MEM0 (if installed)
* - MEM1 (if installed)
* - User LED * - User LED
* *
* This will also test the Expansion Control Board (if installed): * This will also test the Expansion Control Board (if installed):
@ -42,9 +41,9 @@
* *
*/ */
#define RUN_MIDI_TEST // Uncomment this line to run a MIDI test. You must connect a MIDI cable as a loopback between the MIDI input and output jacks. //#define RUN_MIDI_TEST // Uncomment this line to run a MIDI test. You must connect a MIDI cable as a loopback between the MIDI input and output jacks.
#define RUN_MEMO_TEST // Uncomment this line if you purchased the option SPI RAM. //#define RUN_MEMO_TEST // Uncomment this line if you purchased the option SPI RAM.
#define RUN_EXP_TEST // Uncomment if you purchased the Expansion Control Board //#define RUN_EXP_TEST // Uncomment if you purchased the Expansion Control Board
#include <Audio.h> #include <Audio.h>
#include "BALibrary.h" #include "BALibrary.h"
@ -101,7 +100,10 @@ void setup() {
AudioMemory(64); AudioMemory(64);
codec.enable(); codec.enable();
codec.setHeadphoneVolume(0.8f); // Set headphone volume codec.setHeadphoneVolume(0.8f); // Set headphone volume
#if defined(RUN_EXP_TEST)
configPhysicalControls(controls, codec); configPhysicalControls(controls, codec);
Serial.println("Now monitoring for input from Expansion Control Board");
#endif
// Run the initial Midi connectivity and SPI memory tests. // Run the initial Midi connectivity and SPI memory tests.
#if defined(RUN_MIDI_TEST) #if defined(RUN_MIDI_TEST)
@ -114,10 +116,6 @@ void setup() {
spiMem0.begin(); delay(10); spiMem0.begin(); delay(10);
if (spiTest(&spiMem0, 0)) { Serial.println("SPI0 testing PASSED!");} if (spiTest(&spiMem0, 0)) { Serial.println("SPI0 testing PASSED!");}
#endif #endif
#if defined(RUN_EXP_TEST)
Serial.println("Now monitoring for input from Expansion Control Board");
#endif
} }
void loop() { void loop() {

Loading…
Cancel
Save