Your ROOT_URL in app.ini is https://source.parasitstudio.de:63000/ but you are visiting https://source.parasitstudio.de/parasiTstudio/BALibrary_parasitstudio/commit/46b01dd070b52a0db6ff9d7849eb2c4bae75243d
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
22 additions and
2 deletions
examples/TGA_Pro_demo/TGA_Pro_demo.ino
@ -1,8 +1,23 @@
/*************************************************************************
* This demo uses the BAGuitar library to provide enhanced control of
* the TGA Pro board .
*
* The latest copy of the BA Guitar library can be obtained from
* https : //github.com/Blackaddr/BAGuitar
*
* This demo will provide an audio passthrough , as well as exercise the
* MIDI interface .
*
* It can optionally exercise the SPI MEM0 if installed on the TGA Pro board .
*
*/
# include <Wire.h>
# include <Audio.h>
# include <MIDI.h>
# include "BAGuitar.h"
//#define ENABLE_MEM_TEST // uncomment this line to enable the memory test
using namespace BAGuitar ;
AudioInputI2S i2sIn ;
@ -39,11 +54,12 @@ void setup() {
codecControl . enable ( ) ;
delay ( 100 ) ;
}
void loop ( ) {
# ifdef ENABLE_MEM_TEST
//////////////////////////////////////////////////////////////////
// Write test data to the SPI Memory
//////////////////////////////////////////////////////////////////
@ -96,11 +112,15 @@ void loop() {
}
if ( spiErrorCount = = 0 ) { Serial . println ( " SPI TEST PASSED!!! " ) ; }
# endif
///////////////////////////////////////////////////////////////////////
// MIDI TESTING
// Connect a loopback cable between the MIDI IN and MIDI OUT on the
// GTA Pro. This test code will periodically send MIDI events which
// will loop back and get printed in the Serial Monitor.
///////////////////////////////////////////////////////////////////////
int type , note , velocity , channel , d1 , d2 ;