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:
- 13:9cecc8d66cc1
- Parent:
- 10:70f329e007e6
- Child:
- 17:cbdee5f7a2aa
--- a/Components/tsz124/tsz124_class.cpp Thu Apr 07 04:15:34 2016 +0000 +++ b/Components/tsz124/tsz124_class.cpp Thu Apr 07 07:51:13 2016 +0000 @@ -56,18 +56,14 @@ /* Methods -------------------------------------------------------------------*/ -//static Status_t GetVoltage(unsigned int *ptrVoltage); -//static Status_t GetCurrent(unsigned int *ptrCurrent); - /* TSZ124's private functions. */ - Status_t TSZ124::TSZ124_Init(void *init) { return COMPONENT_OK; } -Status_t TSZ124::TSZ124_ReadID(void *init) { - return COMPONENT_OK; +unsigned int TSZ124::TSZ124_ReadID(void *init) { + return I_AM_TSZ124; } Status_t TSZ124::TSZ124_ConfigIT(void *init) {