diff --git a/docs/red/main.js b/docs/red/main.js index 833f1d2..710422d 100644 --- a/docs/red/main.js +++ b/docs/red/main.js @@ -130,22 +130,23 @@ var RED = (function() { cpp += "void setup(void) {\n"; cpp += "\t" + "//Start the USB serial link (to enable debugging)\n"; cpp += "\t" + "Serial.begin(115200); delay(500);\n"; - cpp += "\t" + "Serial.println(\"Program Starting...\");\n"; + cpp += "\t" + "Serial.println(\"Setup starting...\");\n"; cpp += "\t" + "\n" cpp += "\t" + "//Allocate dynamically shuffled memory for the audio subsystem\n"; - cpp += "\t" + "AudioMemory(10); AudioMemory_F32(10)\n"; + cpp += "\t" + "AudioMemory(10); AudioMemory_F32(10);\n"; cpp += "\t" + "\n"; cpp += "\t" + "//Put your own setup code here\n"; cpp += "\t" + "\n"; - cpp += "\t" + "Serial.println(\"Setup Complete.\t);\n"; - cpp += "};"; + cpp += "\t" + "//End of setup\n"; + cpp += "\t" + "Serial.println(\"Setup complete.\");\n"; + cpp += "};\n"; // generate loop() cpp += "\n"; cpp += "\n"; cpp += "//After setup(), the loop function loops forever.\n"; - cpp += "//Note that the audio modules are called in the background,\n"; - cpp += "//they do not need to be serviced by the loop() function.\n" + cpp += "//Note that the audio modules are called in the background.\n"; + cpp += "//They do not need to be serviced by the loop() function.\n" cpp += "void loop(void) {\n"; cpp += "\n"; cpp += "};";