Tobis Programm forked to not destroy your golden files

Dependencies:   mbed

Fork of Robocode by PES 2 - Gruppe 1

Revision:
60:b57577b0072f
Parent:
58:a78103b0bf2a
Child:
61:628f8a4e857c
diff -r 8de20e85065d -r b57577b0072f source/Robot.cpp
--- a/source/Robot.cpp	Tue Apr 18 15:40:21 2017 +0000
+++ b/source/Robot.cpp	Tue Apr 18 16:19:18 2017 +0000
@@ -17,6 +17,7 @@
 #define LED0_ON_L       0x06
 #define LED0_ON_H       0x07
 #define LED0_OFF_L      0x08
+#define LED0_OFF_H      0x09
 
 #define RESTART         0x80
 #define SLEEP           0x10
@@ -73,8 +74,8 @@
 DigitalOut Servo_enable(PA_10);
 
 //Color sensor
-DigitalIn Red(PB_13);
-DigitalIn Green(PC_4);
+DigitalIn red(PB_13);
+DigitalIn green(PC_4);
 
 short previousValueCounterRight = 0;
 short previousValueCounterLeft = 0;