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:
Thu Apr 07 04:20:38 2016 +0000
Parent:
6:5b83d50e41af
Child:
8:2c5c9b735d90
Commit message:
uupdated a comment;

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 Apr 07 04:02:30 2016 +0000
+++ b/X_NUCLEO_IKA01A1.lib	Thu Apr 07 04:20:38 2016 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/users/hemddabral/code/X_NUCLEO_IKA01A1/#91d59b5ac026
+https://developer.mbed.org/users/hemddabral/code/X_NUCLEO_IKA01A1/#ac16b9a1cad6
--- a/main.cpp	Thu Apr 07 04:02:30 2016 +0000
+++ b/main.cpp	Thu Apr 07 04:20:38 2016 +0000
@@ -16,7 +16,7 @@
         
         unsigned int opAmpVoltage = instrAmp->GetVoltage();        
         unsigned int opAmpCurrent = instrAmp->GetCurrent();           
-        // pass A3 on LPCxpresso lpc11u68
+        // pass the analog pin name on which voltage is to be read (e.g. A3 on LPCxpresso lpc11u68)
         unsigned int photoSensorVoltage = photoSensor_windComp->TSU104_PhotoSensor_GetVoltage(A3);                
         unsigned int windComPinD2 = photoSensor_windComp->TSU104_WindComp_Get_D2();               
         unsigned int windComPinD4 = photoSensor_windComp->TSU104_WindComp_Get_D4();