Bayley Wang
/
foc-ed_in_the_bot_compact
robot
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);