![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
striscia led
Dependencies: X_NUCLEO_LED61A1 mbed
Fork of HelloWorld_LED61A1 by
Diff: main.cpp
- Revision:
- 4:aeeb361d0227
- Parent:
- 3:ed347127fc38
- Child:
- 5:b00bbf1edfa9
--- a/main.cpp Fri Dec 18 16:53:09 2015 +0000 +++ b/main.cpp Fri Dec 18 17:05:26 2015 +0000 @@ -350,7 +350,11 @@ /*----- Initialization. -----*/ /* Printing to the console. */ - printf("LED Control Application Example\r\n\n"); + printf("LED Control Application Example\r\n\n"\ + "+ Short Button Press [<%.1fs] --> Manual Dimming\r\n"\ + "+ Medium Button Press --> Switch Demo\r\n"\ + "+ Long Button Press [>%.1fs] --> Switch Power ON/OFF\r\n\n"\ + , SWITCH_DEMO_BUTTON_PRESS_ms / 1000.0f, SWITCH_POWER_BUTTON_PRESS_ms / 1000.0f); /* Initializing LED Control Component. */ led = new LED6001(D4, A3, D6, D5);