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 <IRremote.h> | |
const int rTriggerPin = 8; | |
const int rEchoPin = 7; | |
const int gTriggerPin = 10; | |
const int gEchoPin = 9; | |
const int bTriggerPin = 12; | |
const int bEchoPin = 11; | |
const int receiverPin = 4; |
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 <Stepper.h> | |
int potentiometerPin = 1; | |
int LDRPin = 0; | |
int motorPin1 = 2; | |
int motorPin2 = 3; | |
int motorPin3 = 4; | |
int motorPin4 = 5; |