Skip to content

Commit

Permalink
Removed Nano warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tysonlt committed Feb 23, 2019
1 parent 5c43ed4 commit d7dcc6e
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 7 deletions.
1 change: 0 additions & 1 deletion examples/EffectList/EffectList.ino
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ bool presetRequested = false;

void setup() {

//note that this won't work on a Nano, it uses Serial for MIDI
Serial.begin(9600);
while (!Serial);

Expand Down
2 changes: 1 addition & 1 deletion examples/FineGrainedCallbacks/FineGrainedCallbacks.ino
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ void onSceneName(SceneNumber number, const char *name, const byte length) {
Serial.println(name);
}

//NOTE: only rely on the effects, the reset of the preset is not guaranteed to be complete.
//only rely on the effects, the reset of the preset is not guaranteed to be complete.
void onEffectsReceived(PresetNumber number, AxePreset preset) {

const size_t sz = 25;
Expand Down
1 change: 0 additions & 1 deletion examples/LooperStatus/LooperStatus.ino
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ AxeSystem Axe;

void setup() {

//note that this won't work on a Nano, it uses Serial for MIDI
Serial.begin(9600);

Axe.begin(Serial1);
Expand Down
3 changes: 1 addition & 2 deletions examples/PresetDetails/PresetDetails.ino
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ AxeSystem Axe;

void setup() {

//note that this won't work on a Nano, it uses Serial for MIDI
Serial.begin(9600);
while (!Serial);

Expand All @@ -28,7 +27,7 @@ void onPresetChange(AxePreset preset) {
const size_t sz = 150;
char buf[sz];

//NOTE! Preset/scene names with % in them will not print to debug properly
//Preset/scene names with % in them will not print to debug properly

//AxeSystem has notified that all requested information has arrived!
Serial.println();
Expand Down
3 changes: 1 addition & 2 deletions examples/Refresh/Refresh.ino
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ AxeSystem Axe;

void setup() {

//note that this won't work on a Nano, it uses Serial for MIDI
Serial.begin(9600);
// while (!Serial);

Expand All @@ -31,7 +30,7 @@ void onPresetChange(AxePreset preset) {
const size_t sz = 150;
char buf[sz];

//NOTE! Preset/scene names with % in them will not print to debug properly
//Preset/scene names with % in them will not print to debug properly

//AxeSystem has notified that all requested information has arrived!
Serial.print("Preset number: ");
Expand Down

0 comments on commit d7dcc6e

Please sign in to comment.