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.
Diff: BREMS/BREMSConfig.cpp
- Revision:
- 223:b986e7cee521
- Parent:
- 217:1171ed0f6145
- Child:
- 225:81b72a4bf18b
--- a/BREMS/BREMSConfig.cpp Tue Oct 02 06:21:44 2018 +0000 +++ b/BREMS/BREMSConfig.cpp Tue Oct 02 07:12:01 2018 +0000 @@ -6,6 +6,7 @@ #include "CommandProcessor.h" #include "PreferenceWriter.h" #include "Filter.h" +#include "LedBlinker.h" #include "hardware.h" #include "derived.h" @@ -122,6 +123,9 @@ io->pc->printf("%s\n", "You should probably at least set throttle and current limits!"); } + io->blink = new LedBlinker(STATUS_LED, _F_SW, 1.0); + io->blink->set_code(0x0f); + wait_ms(750); io->pos = new PositionSensorEncoder(_CPR, 0);