Clear the Arduino Sketch

Clear the Arduino’s sketch.

Let’s make sure to clear the sketch in the Arduino before turning Motors power on.  That way, some BOE Shield-Bot sketch that used to be in there won’t send your Arlo into unexpected maneuvers.

  • Make sure the Arlo’s Motors power is off.
  • Connect your board’s programming cable to your computer.
  • Turn on the Arlo’s Main power.
  • Set the BOE Shield’s power switch to 1.
  • Open the No-Surprise-Maneuvers.ino sketch into your Arduino programming software.
  • Run the sketch using your Arduino programming software’s Upload button.
/*
Arlo-No-Surprise-Maneuvers.ino
Run this before ever turning on power to the Arlo's motors to prevent any
unexpected motions.
*/  

void setup()                                   // Setup function
{
 tone(4, 3000, 2000);                          // Piezospeaker beep
 Serial.begin(9600);                           // Start terminal serial port
 Serial.print("Your Arlo will stay still.");   // Message
}

void loop() {}                                  // Nothing for main loop