Maxim Integrated MAX30205 C, C++ source code driver software: MAX30205 is accurate to +-0.1°C over the range of 37.0°C to 39.0°C. One-shot, shutdown modes are available for reduced power usage. Thermostat thresholds allow for temperature hysteresis or for alarm settings. The MAX30205 is available in a compact 3x3 mm, 8-pin TDFN package. Operating supply voltage range is 2.7V to 3.3V. Typical applications are for clinical digital thermometers, thermostats with hysteresis, and temperature alarms.
Dependents: MAX30205_Human_Body_Temperature_Sensor
Diff: MAX30205.h
- Revision:
- 5:24039cc86fc1
- Parent:
- 4:68e1b36becb0
- Child:
- 6:b5ab5204d944
diff -r 68e1b36becb0 -r 24039cc86fc1 MAX30205.h
--- a/MAX30205.h Fri Apr 07 21:41:27 2017 +0000
+++ b/MAX30205.h Fri Apr 07 21:48:48 2017 +0000
@@ -40,13 +40,19 @@
*
* @code
* #include "mbed.h"
+ * #include "max32630fthr.h"
* #include "MAX30205.h"
+ *
+ * MAX32630FTHR pegasus(MAX32630FTHR::VIO_3V3);
+ *
+ * //Get I2C instance
+ * I2C i2cBus(P3_4, P3_5);
+ *
+ * //Get temp sensor instance
+ * MAX30205 bodyTempSensor(i2cBus, 0x4D); //Constructor takes 7-bit slave adrs
*
* int main(void)
* {
- * I2C i2c(I2C_SDA, I2C_SCL);
- * MAX30205 sensor(i2c);
- *
* //use sensor
* }
* @endcode