Example host software for the Maxim Integrated MAX31723/MAX31722 Device Temperature Sensor. Hosted on the MAX32630FTHR. The MAX31723 may be used in thermostats, thermometers, and hardware temperature supervisors.
Dependencies: MAX31723_Digital_Temperature_Sensor max32630fthr USBDevice
Diff: main.cpp
- Revision:
- 4:51c1a4c4f762
- Parent:
- 2:07fde4ba8e91
- Child:
- 7:bf8c91e28a3b
--- a/main.cpp Mon Sep 10 21:54:22 2018 +0000 +++ b/main.cpp Sun Oct 07 21:32:29 2018 +0000 @@ -46,23 +46,23 @@ DS4424 ds4424_dac(i2cBus, DS4424::DS4424_I2C_SLAVE_ADRS0, DS4424::DS4424_IC); -// main() runs in its own thread in the OS -// (note the calls to Thread::wait below for delays) +/** main() runs in its own thread in the OS */ +/** (note the calls to Thread::wait below for delays) */ /** -* @brief Sample main program for Maxim Integrated DS4424, DS4422 -* @version 1.0000.2 -* -* @details Sample main program for DS4424, DS4422 -* The prints are sent to the terminal window (9600, 8n1). -* The program sets the output DAC registers to various values. -* These registers are then read back and printed out. -* The program then blinks the blue-green LED. -* To run the program, drag and drop the .bin file into the -* DAPLINK folder. After it finishes flashing, cycle the power or -* reset the Pegasus (MAX32630FTHR) after flashing by pressing the button on -* the Pegasus next to the battery connector or the button -* on the MAXREFDES100HDK. -*/ + * @brief Sample main program for Maxim Integrated DS4424, DS4422 + * @version 1.0000.3 + * + * @details Sample main program for DS4424, DS4422 + * The prints are sent to the terminal window (9600, 8n1). + * The program sets the output DAC registers to various values. + * These registers are then read back and printed out. + * The program then blinks the blue-green LED. + * To run the program, drag and drop the .bin file into the + * DAPLINK folder. After it finishes flashing, cycle the power or + * reset the Pegasus (MAX32630FTHR) after flashing by pressing the button on + * the Pegasus next to the battery connector or the button + * on the MAXREFDES100HDK. + */ int main() { int32_t value[4]={0,0,0,0};