Skip to content

cdjq/DFRobot_CT1780

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DFRobot_CT1780

1-Wire High Temperature Sersor (K-type)

产品效果图片

SKU: SEN0652

Table of Contents

Summary

1-Wire High Temperature Sersor (K-type)

Installation

To use this library, first download the library file, paste it into the \Arduino\libraries directory, then open the examples folder and run the demo in the folder.

Methods

/**
 * @fn: begin
 * @brief: Initialize object
 * @return: 1 is returned if initialization succeeds, 0 is returned if initialization fails
 */
int begin();

/**
 * @fn: getCelsius
 * @brief: Read probe temperature data
 * @return: float Temperature value (in degrees Celsius)
 */
float getCelsius();

/**
 * @fn: getUniqueAddr()
 * @brief: Gets the 64-bit unique address of CT1780
 * @return: Address data (array)
*/
uint8_t* getUniqueAddr();


/**
 * @fn: getConfigAddr()
 * @brief: Get the user-configured address of CT1780 (in ScratchPad)
 * @return: address data
 */
uint8_t getConfigAddr();

Compatibility

MCU Work Well Work Wrong Untested
Arduino Uno
Mega2560
Leonardo
ESP32
ESP8266
micro:bit
FireBeetle M0

History

  • 2024-12-16 - Version 1.0.0 released.

Credits

Written by fary([email protected]), 2024. (Welcome to our website)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages