LED driver example

Dependencies:   X_NUCLEO_IKA01A1 mbed

library for STMicroelectronics' multifunctional shield based on operational amplifiers.

Files at this revision

API Documentation at this revision

Comitter:
hemddabral
Date:
Mon Mar 21 03:51:12 2016 +0000
Parent:
0:d37da39974bc
Commit message:
LED driver example;

Changed in this revision

X_NUCLEO_IKA01A1.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/X_NUCLEO_IKA01A1.lib	Thu Mar 17 06:58:32 2016 +0000
+++ b/X_NUCLEO_IKA01A1.lib	Mon Mar 21 03:51:12 2016 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/users/hemddabral/code/X_NUCLEO_IKA01A1/#19d1dcef0c0e
+https://developer.mbed.org/users/hemddabral/code/X_NUCLEO_IKA01A1/#5dd31859cea3
--- a/main.cpp	Thu Mar 17 06:58:32 2016 +0000
+++ b/main.cpp	Mon Mar 21 03:51:12 2016 +0000
@@ -9,7 +9,7 @@
     X_NUCLEO_IKA01A1 *analog_expansion_board = X_NUCLEO_IKA01A1::Instance();
     analog_expansion_board->Init();
     TSV734 *led_Driver = analog_expansion_board->tsv734;  
-    led_Driver->Configure(1000);  
+    led_Driver->Configure(D3, 50);  
     float dutyCycle_us = 0;
        
     while(1) {