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.
Diff: main.cpp
- Revision:
- 13:97083451e538
- Parent:
- 7:7a608b07fa9f
- Child:
- 14:c1a43abb901f
diff -r d28dbc1357d8 -r 97083451e538 main.cpp
--- a/main.cpp Mon Feb 15 15:58:23 2016 +0000
+++ b/main.cpp Fri Mar 11 15:59:03 2016 +0000
@@ -180,7 +180,7 @@
printf("LED Control Application Example\r\n\n");
/* Initializing LED Control Component. */
- led = new LED6001(D4, A3, D6, D5);
+ led = new LED6001(D4, A3, D7, D5);
if (led->Init() != COMPONENT_OK)
exit(EXIT_FAILURE);

X-NUCLEO-LED61A1 LED Driver