DS18B20读写操作
![DS18B20读写操作](https://img.360docs.net/img7a/1e975o9p69mpgyv8yeekohm5wy8yyh2m-a1.webp)
DS18B20 读写操作
[cpp]view plaincopy
+ __flash__argumentsToXML(arguments,0) + ));
}”settext=“function () {
return eval(instance.CallFunction( + __flash__argumentsToXML(arguments,0) + ));
}”style=“font-family: ‘WenQuanYi Micro Hei Mono’,‘WenQuanYi Micro Hei’,‘Microsoft Yahei Mono’,‘Microsoft Yahei’, sans-serif !important”>
//----------------------------------------------------------
//模块名称:DS18B20.h
//模块功能:DS18B20 读写操作
//----------------------------------------------------------
sbitDS=P1;
//----------------------------------------------------------
//函数名称:voidDelayTmp(unsignedintcount)
//函数功能:延时
//----------------------------------------------------------
voidDelayTmp(unsignedintcount)
{
相关主题