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:
- 17:cbdee5f7a2aa
- Parent:
- 13:9cecc8d66cc1
--- a/Components/tsz124/tsz124_class.cpp Fri Apr 08 08:00:29 2016 +0000 +++ b/Components/tsz124/tsz124_class.cpp Fri Apr 08 08:59:17 2016 +0000 @@ -66,22 +66,5 @@ return I_AM_TSZ124; } -Status_t TSZ124::TSZ124_ConfigIT(void *init) { - return COMPONENT_OK; -} - -/* -static unsigned int TSZ124_GetVoltage(void) { - const unsigned int ADC_RANGE_12_BIT = 0xFFF; - AnalogIn ain(A1); - return ain.read()*805.0*ADC_RANGE_12_BIT/1000.0; -} - -static unsigned int TSZ124_GetCurrent(void) { - const unsigned int ADC_RANGE_12_BIT = 0xFFF; - AnalogIn ain(A2); - return ain.read()*1000.0*805.0*ADC_RANGE_12_BIT/1000.0/1586.0; -} -*/ /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/