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
#include <Servo.h> | |
Servo cup; | |
Servo cart; | |
int potpin = 0; | |
int val; | |
int inPinR = 4; | |
int inPinL = 3; | |
int ButtonR = 0; | |
int ButtonL = 0; | |
void setup() |
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
// This code has yet to be tested | |
// There most likely will need to be some more adjustments made | |
// when our group meets again on Saturday (11/30/12) so that the | |
// Machine works as intended. As of now it compiles and should run. | |
#include <Servo.h> | |
int potPin = A0; // PotPin is set to A0 | |
int potVal = 0; | |
int RightButton = 0; | |
int LeftButton = 0;// Declares LeftButton as an int and assigns it the value 0 |
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
int ledPin = 12; | |
int inPin = 7; | |
int Button = 0; | |
int motorPin = 9; | |
int motorPin6 = 6; | |
int motorValue; | |
int motorValue6; | |