Update examples to use 64M by default (#18)

pull/19/head
Blackaddr Audio 2 years ago committed by GitHub
parent 631f7da772
commit ca7df2e990
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      examples/Delay/AnalogDelayDemo/AnalogDelayDemo.ino
  2. 5
      examples/Delay/AnalogDelayDemoExpansion/AnalogDelayDemoExpansion.ino
  3. 5
      examples/Delay/ExternalDelayDemo/ExternalDelayDemo.ino
  4. 5
      examples/Delay/SoundOnSoundDemo/SoundOnSoundDemo.ino
  5. 5
      examples/Delay/SoundOnSoundExpansionDemo/SoundOnSoundExpansionDemo.ino
  6. 5
      examples/Tests/TGA_PRO_Basic_Test/TGA_PRO_Basic_Test.ino
  7. 5
      keywords.txt

@ -92,8 +92,9 @@ void setup() {
//TGA_PRO_REVA(x);
#ifdef USE_EXT
SPI_MEM0_4M();
//SPI_MEM0_1M(); // use this line instead of you have the older 1Mbit memory
SPI_MEM0_64M(); // Optional 64Mbit SPI RAM
//SPI_MEM0_4M(); // Older REVA and REVB boards came with 4M or 1M
//SPI_MEM0_1M();
#endif
delay(100);

@ -102,8 +102,9 @@ void setup() {
//TGA_PRO_REVA(x);
#ifdef USE_EXT
SPI_MEM0_4M();
//SPI_MEM0_1M(); // use this line instead of you have the older 1Mbit memory
SPI_MEM0_64M(); // Optional 64Mbit SPI RAM
//SPI_MEM0_4M(); // Older REVB and REVA boards offered 1M or 4M
//SPI_MEM0_1M();
#endif
delay(100); // wait a bit for serial to be available

@ -53,8 +53,9 @@ void setup() {
//TGA_PRO_REVB(x);
//TGA_PRO_REVA(x);
SPI_MEM0_4M();
//SPI_MEM0_1M(); // use this line instead of you have the older 1Mbit memory
SPI_MEM0_64M(); // Optional 64Mbit SPI RAM
//SPI_MEM0_4M(); // Older REVB / REVA boards came with 4M or 1M
//SPI_MEM0_1M();
Serial.begin(57600);
delay(200);

@ -100,8 +100,9 @@ void setup() {
//TGA_PRO_REVB(x);
//TGA_PRO_REVA(x);
SPI_MEM0_4M();
//SPI_MEM0_1M(); // use this line instead of you have the older 1Mbit memory
SPI_MEM0_64M(); // Optional 64Mbit SPI RAM
//SPI_MEM0_4M(); // Older REVB / REVA boards offered 1M or 4M
//SPI_MEM0_1M();
delay(100);
Serial.begin(57600); // Start the serial port

@ -110,8 +110,9 @@ void setup() {
//TGA_PRO_REVB(x);
//TGA_PRO_REVA(x);
SPI_MEM0_4M();
//SPI_MEM0_1M(); // use this line instead of you have the older 1Mbit memory
SPI_MEM0_64M(); // Optional 64Mbit SPI RAM
//SPI_MEM0_4M(); // Older REVB / REVA boards offered 1M or 4M
//SPI_MEM0_1M();
delay(100);
delay(100); // wait a bit for serial to be available

@ -113,8 +113,9 @@ void setup() {
#endif
#if defined(RUN_MEMO_TEST)
SPI_MEM0_4M(); // Declare the correct memory size
// SPI_MEM0_1M(); // older boards only had 1M memories
SPI_MEM0_64M(); // declare the 64Mbit optional PSI memory
//SPI_MEM0_4M(); // REVB and REVA came with 4M or 1M
// SPI_MEM0_1M();
spiMem0.begin(); delay(10);
if (spiTest(&spiMem0, 0)) { Serial.println("SPI0 testing PASSED!");}
#endif

@ -15,10 +15,11 @@ BAAudioEffectDelayExternal KEYWORD1
#######################################
# Methods and Functions (KEYWORD2)
#######################################
TGA_PRO_MKII_REV1 KEYWORD2
TGA_PRO_REVA KEYWORD2
TGA_PRO_REVB KEYWORD2
TGA_PRO_EXPAND_REV2 KEYWORD2
SPI_MEM0_64M KEYWORD2
SPI_MEM0_1M KEYWORD2
SPI_MEM0_4M KEYWORD2
SPI_MEM1_1M KEYWORD2
@ -31,4 +32,4 @@ BAHardwareConfig KEYWORD1
#######################################
# Constants (LITERAL1)
#######################################
#######################################

Loading…
Cancel
Save