Sample main.c/cpp code for the Maxim Integrated MAX31725, MAX31726 high temperature sensor with accuracy of to +-0.5°C. Hosted on the MAX32630FTHR. Typical applications are for thermometers, thermostat and over-temperature monitoring.
Dependencies: MAX31725_Accurate_Temperature_Sensor max32630fthr USBDevice
Diff: main.cpp
- Revision:
- 3:597971685e65
- Parent:
- 2:1890f1449f7c
- Child:
- 4:ca90e528fe79
--- a/main.cpp Wed Apr 10 19:30:46 2019 +0000 +++ b/main.cpp Thu Apr 11 07:10:00 2019 +0000 @@ -87,7 +87,7 @@ pc.printf("MAX31725 Digital Thermometer and " "Thermostat example source code.\r\n"); pc.printf("\r\n"); - uint8_t i2c_addr = MAX31725_I2C_SLAVE_ADR_21; + uint8_t i2c_addr = MAX31725_I2C_SLAVE_ADR_00; MAX31725 temp_sensor(i2cBus, i2c_addr); i2cBus.frequency(400000); /* Configure for time out enabled, normal format, fault filter 6,