I2C_device_Arduino 1.0.1
An I²C utility class for Arduino
Loading...
Searching...
No Matches
test_LM75B.h
Go to the documentation of this file.
1
9#ifndef ARDUINO_TEMP_SENSOR_H
10#define ARDUINO_TEMP_SENSOR_H
11
12#include <Arduino.h>
13#include <stdint.h>
14
15#include "I2C_device.h"
16
27class test_LM75B : public I2C_device
28{
29public:
30 enum mode {
33 };
34
36 enum reg_num {
41 };
42
47 test_LM75B( uint8_t i2c_address = (0x90 >> 1) );
48
54 test_LM75B( TwoWire& wire, uint8_t i2c_address = (0x90 >> 1) );
55
59
64 float read( void );
65
74 void thresholds( float v0, float v1 );
75
80 void os_mode( mode flag );
81};
82
83#endif // ARDUINO_TEMP_SENSOR_H
void thresholds(float v0, float v1)
float read(void)
void os_mode(mode flag)