Clear the Propeller Microcontroller’s Program
Let’s make sure to clear the program in the Activity Board before turning Motors power on. That way, some ActivityBot program that used to be in there won’t send your Arlo into unexpected maneuvers.
- If you haven't already done so:
- Download the Propeller C arlodrive Library and Code from the download page, and unzip to a folder.
- Copy the libarlodrive subfolder into ...Documents/SimpleIDE/Learn/Simple Libraries/Robotics/
- Make sure the Arlo’s Motors power rocker switch is off.
- Connect your board’s programming cable to your computer.
- Turn on the Arlo’s Main power.
- Set the Activity Board’s power switch to 1.
- Use SimpleIDE to open the No Surprise Maneuvers.side program. (Make sure to only open programs from the folder you extracted, not from the .zip you downloaded.)
- Run the program using SimpleIDE’s Load EEPROM & Run button.
/* Arlo - No Surprise Maneuvers.c Run this before ever turning on power to the Arlo's motors to prevent any unexpected motions. */ #include "simpletools.h" // Include simple tools #include "arlodrive.h" // Include arlo drive int main() // Main function { freqout(4, 2000, 3000); // Beep -> program starting print("Your Arlo will stay still\n"); // Success message }