Simple test application for X-NUCLEO-IKA01A1 expansion board.

Dependencies:   X_NUCLEO_IKA01A1 mbed

Fork of HelloWorld_IKA01A1 by ST Expansion SW Team

Simple test application for X-NUCLEO-IKA01A1 expansion board.

Platform compatibility issues

  • NUCLEO-F302R8: use pin D5 for LED Driver configuration
  • LPCXpresso11U68: use pin D3 as PWM for LED Driver configuration. Use a free Dx pin as Signal2 for Windows Comparator configuration.

Files at this revision

API Documentation at this revision

Comitter:
hemddabral
Date:
Tue Apr 12 07:44:10 2016 +0000
Parent:
14:182526e41810
Child:
16:2159a3dc888e
Commit message:
final draft for release

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-dev.lib Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Apr 12 04:09:46 2016 +0000
+++ b/main.cpp	Tue Apr 12 07:44:10 2016 +0000
@@ -12,7 +12,7 @@
                                                                           X_NUCLEO_IKA01A1_PIN_WINDOWS_COMP_SIGNAL_1,
                                                                           X_NUCLEO_IKA01A1_PIN_WINDOWS_COMP_SIGNAL_2,
                                                                           X_NUCLEO_IKA01A1_PIN_PWM_LED_DRIVER_OUTPUT,
-                                                                          500);
+                                                                          5000);
     analog_expansion_board->Init();
     TSZ124 *instrAmp = analog_expansion_board->tsz124;
     TSU104 *photoSensor_windComp = analog_expansion_board->tsu104;
@@ -35,7 +35,7 @@
         pc.printf("\nphotodiode sensor output voltage(mV): %u \n", photoSensorVoltage); 
         pc.printf("\nWindows comparator: signal 1 value(pin D2): %u \n", windComPin1);         
         pc.printf("\nWindows comparator: signal 1 value(pin D4): %u \n", windComPin2);   
-        
+
         dutyCycle += 0.1; 
         if(dutyCycle>=1) 
             dutyCycle -= 1;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed-dev.lib	Tue Apr 12 07:44:10 2016 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed-dev/#e46d5651bd87
--- a/mbed.bld	Tue Apr 12 04:09:46 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/99a22ba036c9
\ No newline at end of file