LM75B Digital temperature sensor and thermal watchdog
Dependents: testLM75B testSensor TCPSocket_Client
Diff: LM75B.h
- Revision:
- 1:61987c319606
- Parent:
- 0:1cf64e89f29d
- Child:
- 2:f7dc7b327a4a
--- a/LM75B.h Wed Jul 06 07:02:52 2016 +0000 +++ b/LM75B.h Wed Jul 06 07:11:23 2016 +0000 @@ -64,9 +64,24 @@ */ ~LM75B(); + /** + * get temperature as one byte (signed) + */ int8_t temp(void) ; + + /** + * get temperature as 11 bit (float) + */ void getTemp(float *temp) ; + + /** + * get configuration register + */ uint8_t getConfig(uint8_t ptr_byte) ; + + /** + * set configuration register + */ void setConfig(uint8_t ptr_byte, uint8_t config_data) ; private: