Arduino Kod:
int ENABLE_A = 11;
int pin_a1 = 9;
int pin_a2 = 8;
int ENABLE_B = 5;
int pin_b1 = 6;
int pin_b2 = 7;
int Sol = A0;
int Orta = A1;
int Sag = A2;
int SolDeger;
int OrtaDeger;
int SagDeger;
int eDeger=750;
int SonDonus=0;
void setup() {
//Serial.begin(9600);
//pin mode for the DC motors
pinMode (ENABLE_A, OUTPUT);
pinMode (pin_a1, OUTPUT);
pinMode (pin_a2, OUTPUT);
pinMode (ENABLE_B, OUTPUT);
pinMode (pin_b1, OUTPUT);
pinMode (pin_b2, OUTPUT);
}