
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.
Revisions of main.cpp
Revision | Date | Message | Actions |
---|---|---|---|
16:2497344ba436 | 2017-07-13 | Adapting to ARM mbed coding style. | File Diff Annotate |
15:ea1e402ce919 | 2016-03-14 | + Restored D6 as PWM dimming pin. | File Diff Annotate |
14:f2ba2ca417d3 | 2016-03-14 | + Moved starting-up sequence into the driver. | File Diff Annotate |
7:5763474c7551 | 2016-02-04 | Bug fixing (sinusoidal wave). | File Diff Annotate |
6:899828fd9d9d | 2016-01-15 | + Updated with the new version of the library. | File Diff Annotate |
5:b00bbf1edfa9 | 2016-01-14 | + Updated with the new version of the library.; + Help added. | File Diff Annotate |
4:aeeb361d0227 | 2015-12-18 | + Demo Usage Added. | File Diff Annotate |
3:ed347127fc38 | 2015-12-18 | + Demos refined. | File Diff Annotate |
2:dbd596540d46 | 2015-12-17 | + Implementation completed. | File Diff Annotate |
1:1c01b873ad45 | 2015-12-14 | + Added interrupts handling. | File Diff Annotate |
0:f5a41692e1fb | 2015-12-10 | Simple test application for the STMicrolectronics X-NUCLEO-LED61A1 LED Control Expansion Board. | File Diff Annotate |