Simple test application for the STMicroelectronics X-NUCLEO-LED61A1 LED Control Expansion Board.
Dependencies: X_NUCLEO_LED61A1 mbed
Fork of HelloWorld_LED61A1 by
LED Control with the X-NUCLEO-LED61A1 Expansion Board
This application provides a simple 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 by means of a sinusoidal wave form injected into the PWM dimming control pin.
Revision 15:dd6dc0e07402, committed 2016-03-14
- Comitter:
- Davidroid
- Date:
- Mon Mar 14 12:19:23 2016 +0000
- Parent:
- 14:c1a43abb901f
- Child:
- 16:0d6f96345c56
- Commit message:
- + Restored D6 as PWM dimming pin.
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Mar 14 10:09:40 2016 +0000
+++ b/main.cpp Mon Mar 14 12:19:23 2016 +0000
@@ -151,7 +151,7 @@
printf("LED Control Application Example\r\n\n");
/* Initializing LED Control Component. */
- led = new LED6001(D4, A3, D7, D5);
+ led = new LED6001(D4, A3, D6, D5);
if (led->Init() != COMPONENT_OK)
exit(EXIT_FAILURE);

X-NUCLEO-LED61A1 LED Driver