Test application for the STMicroelectronics X-NUCLEO-LED61A1 LED Control Expansion Board showing several LED control modes, built against mbed OS.

Dependencies:   X_NUCLEO_LED61A1

Fork of LedDimming_LED61A1 by ST

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:

  1. Manual PWM Dimming;
  2. Manual Analog Dimming;
  3. Sinusoidal PWM Dimming;
  4. Sinusoidal Analog Dimming;
  5. 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.

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