3pi motor control from Arduino

What is a 3pi robot ?
What is an Arduino board ?
What is an AVR Atmel Micro-controller ?
—————-

[code language="Arduino"]
#include

OrangutanMotors motors;

void setup()               // run once, when the sketch starts
{

}

void loop()                // run over and over again
{
// note that the following line could also be accomplished with:
// int pot = analog.read(7);
//int pot = analog.readTrimpot();    // determine the trimpot position
int motorSpeed1 = 25;  // turn pot reading into number between -256 and 255
int motorSpeed2 = 0;  // turn pot reading into number between -256 and 255

// Minus - Zero -> back to right (turn around one point)
// Zero - Minus -> Back to leftt (turn around one point)
// Positive - Zero -> front to right (turn around one point)
// Zero - Positive -> front to left (turn around one point)

// Speed1 < Speed2 -> back to right
// Speed1 > Speed2 -> Back to leftt
// Speed1 > Speed2 -> front to right
// Speed1 < Speed2 -> front to left
// looking at robot from back ->  left number goes to left motor & right goes to right motor
motors.setSpeeds(motorSpeed1,motorSpeed2);
}

[/code]

3pi robot LCD from Arduino

What is a 3pi robot ?
What is an Arduino board ?
What is an AVR Atmel Micro-controller ?

—————-

[code language="Arduino"]
#include
OrangutanLCD lcd;
void setup(){
// run once, when the sketch starts
}
void loop()                // run over and over again
{
// avoid clearing the LCD to reduce flicker
lcd.gotoXY(0, 0);
lcd.print("Line 1");
lcd.print("  ");              // overwrite any left over digits
lcd.gotoXY(0, 1);
lcd.print("Line 2");
lcd.print("  ");              // overwrite any left over digits
}
[/code]

Stop [ \NoRegain ], ABB RAPID

MoveL point_1, v1000, z10, tool1;
TPWrite “Jog the robot to the position for pallet corner 1”;
Stop \NoRegain;
p1_read := CRobT();
MoveL point_2, v500, z50, tool1;

Program execution stops with the robot at point_1. The operator jogs the robot to p1_read. For the next program start, the robot does not regain to point_1, so the position p1_read can be stored in the program