code to access the AT30TSE75x temperature and E-prom device
Dependents: AT30TSE752TST AT30TSE752TST2
Diff: AT30TSE75x.cpp
- Revision:
- 5:c783703a9e28
- Parent:
- 4:8189e5cb4459
- Child:
- 6:cc295531021e
diff -r 8189e5cb4459 -r c783703a9e28 AT30TSE75x.cpp --- a/AT30TSE75x.cpp Wed Mar 15 17:15:53 2017 +0000 +++ b/AT30TSE75x.cpp Thu Mar 30 18:19:22 2017 +0000 @@ -183,13 +183,13 @@ error= locerr; } -float AT30TSE75x::get_THighLimitRegister(int &error , float temperture, int Nonvolatile) { +float AT30TSE75x::get_THighLimitRegister(int &error , int Nonvolatile) { uint8_t reg = THighReg ; if ( Nonvolatile) reg = THighRegNV; return get_LimitRegister(error ,reg , Nonvolatile); } -float AT30TSE75x::get_TLowLimitRegister(int &error , float temperture, int Nonvolatile) { +float AT30TSE75x::get_TLowLimitRegister(int &error , int Nonvolatile) { uint8_t reg = TLowReg ; if ( Nonvolatile) reg = TLowRegNV; return get_LimitRegister(error ,reg , Nonvolatile);