mbed library for STMicroelectronics' X-NUCLEO-IKA01A1 expansion board.
Dependents: HelloWorld_IKA01A1
Fork of X_NUCLEO_IKA01A1 by
Library for STMicroelectronics' X-NUCLEO-IKA01A1 multifunctional expansion board based on operational amplifiers.
Diff: Components/tsz124/tsz124_class.cpp
- Revision:
- 10:70f329e007e6
- Parent:
- 9:af8d2d4102ea
- Child:
- 13:9cecc8d66cc1
diff -r af8d2d4102ea -r 70f329e007e6 Components/tsz124/tsz124_class.cpp --- a/Components/tsz124/tsz124_class.cpp Wed Apr 06 09:02:51 2016 +0000 +++ b/Components/tsz124/tsz124_class.cpp Wed Apr 06 09:05:41 2016 +0000 @@ -56,8 +56,8 @@ /* Methods -------------------------------------------------------------------*/ -static Status_t GetVoltage(unsigned int *ptrVoltage); -static Status_t GetCurrent(unsigned int *ptrCurrent); +//static Status_t GetVoltage(unsigned int *ptrVoltage); +//static Status_t GetCurrent(unsigned int *ptrCurrent); /* TSZ124's private functions. */ @@ -74,6 +74,7 @@ return COMPONENT_OK; } +/* static unsigned int TSZ124_GetVoltage(void) { const unsigned int ADC_RANGE_12_BIT = 0xFFF; AnalogIn ain(A1); @@ -85,6 +86,6 @@ AnalogIn ain(A2); return ain.read()*1000.0*805.0*ADC_RANGE_12_BIT/1000.0/1586.0; } - +*/ /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/