Skip to content

Instantly share code, notes, and snippets.

@harleauxcarrera
harleauxcarrera / MicroMouse_v.1
Created November 16, 2016 00:30
CodeV.1_MicroMouse
int LeftMotorForward = 10; // Pin 10 has Left Motor connected on Arduino boards.
int LeftMotorReverse = 9; // Pin 9 has Left Motor connected on Arduino boards.
int RightMotorForward = 12; // Pin 12 has Right Motor connected on Arduino boards.
int RightMotorReverse = 13; // Pin 13 has Right Motor connected on Arduino boards.
#define trigPin 12 // define the pins of your sensor
#define echoPin 13
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//int RightMotorForward, LeftMotorForward = 12; // Pin 12 has Right Motor connected on Arduino boards.///// in this process the plan is to eliminate wires as much posible