This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Simple Pan Tracking with 2 IR Sensors | |
Requires Arduino IDE version 0017 | |
or later (0019 or later preferred) | |
*/ | |
#include | |
Servo servo; // Define the servo | |
const int lineLSense = A4; //Define the Left IR Sensor |