Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of Robocode by
Diff: source/movement.cpp
- Revision:
- 24:6c2fec64f890
- Parent:
- 23:4ddc4216f335
- Child:
- 25:08ee4525155b
diff -r 4ddc4216f335 -r 6c2fec64f890 source/movement.cpp
--- a/source/movement.cpp Sat Mar 04 13:57:41 2017 +0000
+++ b/source/movement.cpp Sat Mar 04 15:04:14 2017 +0000
@@ -24,7 +24,7 @@
DigitalIn motorDriverFault(PB_14);
DigitalIn motorDriverWarning(PB_15);
-DigitalOut led(LED1); // Board LED
+//DigitalOut led(LED1); // Board LED
static int EncoderCounterLeft = 0;
static int EncoderCounterRight = 0;
@@ -91,7 +91,7 @@
void highPulseDetectedL()
{
EncoderCounterLeft += 1;
- // led = 1;
+ //led = 1;
}
void highPulseDetectedR()
