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: biquadFilter FastPWM MODSERIAL QEI mbed
Diff: main.cpp
- Revision:
- 18:c74dfa681e09
- Parent:
- 17:b04e1938491a
- Child:
- 19:2797bb471f9f
diff -r b04e1938491a -r c74dfa681e09 main.cpp
--- a/main.cpp Thu Nov 01 10:18:04 2018 +0000
+++ b/main.cpp Thu Nov 01 10:29:30 2018 +0000
@@ -12,8 +12,6 @@
DigitalOut ledRed(LED_RED,1); // red LED K64F
DigitalOut ledGreen(LED_GREEN,1); // green LED K64F
DigitalOut ledBlue(LED_BLUE,1); // blue LED K64F
-// DigitalOut ledBio1(,1); // led 1 Biorobotics shield // LED pins
-// DigitalOut ledBio2(,1); // led 2 Biorobotics shield
Ticker blinkTimer; // LED ticker
@@ -609,6 +607,7 @@
ledGreen = 1; // fast blinking red LED
ledBlue = 1;
ledRed = 0;
+ blinkTimer.detach();
blinkTimer.attach(&blinkLedRed,0.25);
// pin3 = 0; // all motor forces to zero // Pins nog niet gedefiniëerd
