Simple test application for X-NUCLEO-IKA01A1 expansion board.
Dependencies: X_NUCLEO_IKA01A1 mbed
Fork of HelloWorld_IKA01A1 by
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.
Diff: main.cpp
- Revision:
- 7:41935875cb26
- Parent:
- 4:6ed99ea3bf33
- Child:
- 8:2c5c9b735d90
diff -r 5b83d50e41af -r 41935875cb26 main.cpp
--- 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();

X-NUCLEO-IKA01A1 Multifunctional board based on operational amplifiers.