Test application for the STMicroelectronics X-NUCLEO-LED61A1 LED Control Expansion Board showing several LED control modes.
Dependencies: X_NUCLEO_LED61A1 mbed
Fork of LedDimming_LED61A1 by
LED Control with the X-NUCLEO-LED61A1 Expansion Board
This application provides an example of usage of the X-NUCLEO-LED61A1 LED Control Expansion Board. It shows how to control a LED stripe load connected to the board through the following control modes:
- Manual PWM Dimming;
- Manual Analog Dimming;
- Sinusoidal PWM Dimming;
- Sinusoidal Analog Dimming;
- Photo-based Analog Dimming.
The button of the MCU board, when available, can be used in the following ways:
- Short Button Press [<0.5s] for Manual Dimming;
- Medium Button Press to Switch Demo;
- Long Button Press [>2s] to Switch Power ON/OFF.
The program starts in mode 1.
Diff: main.cpp
- Revision:
- 6:899828fd9d9d
- Parent:
- 5:b00bbf1edfa9
- Child:
- 7:5763474c7551
diff -r b00bbf1edfa9 -r 899828fd9d9d main.cpp --- a/main.cpp Thu Jan 14 17:07:33 2016 +0000 +++ b/main.cpp Fri Jan 15 17:12:03 2016 +0000 @@ -1,10 +1,10 @@ /** ****************************************************************************** * @file main.cpp - * @author Davide Aliprandi, STMicrolectronics + * @author Davide Aliprandi, STMicroelectronics * @version V1.0.0 * @date December 9th, 2015 - * @brief mbed test application for the STMicrolectronics X-NUCLEO-LED61A1 + * @brief mbed test application for the STMicroelectronics X-NUCLEO-LED61A1 * LED expansion board. ****************************************************************************** * @attention