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 ST Expansion SW Team

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.

X_NUCLEO_LED61A1.lib

Committer:
Davidroid
Date:
2016-01-15
Revision:
6:899828fd9d9d
Parent:
5:b00bbf1edfa9
Child:
8:6d8bc71c6d4f

File content as of revision 6:899828fd9d9d:

https://developer.mbed.org/teams/ST-Expansion-SW-Team/code/X_NUCLEO_LED61A1/#8626c6a14ef3