奉上刚做好的测温小制作
奉上刚做好的测温小制作--基于DS18B20传感器 今个学期刚学了单片机,学期末的时候老师要求每个人都做个有关单片机应用的小制作,而我的作品就是这个。DS18B20挺好用的,功能很强(我用到的只是最简单的)。可惜现在没时间(要考试!),等下吧,考完后我再努力将这个小制作的功能加强,特别是想做到能自动识别传感器ID号的功能。 我知道有很多人都对DS18B20很感兴趣,借此奉上源代码,实物我已经做好了,测温很稳定。希望对大家有帮助。-Thermometry of small production-- DS18B20 sensor based on this semester just learning the microcontroller, the end of the teacher asked each one of the SCM application to be a small production, and I was in the works. DS18B20 very good use, and highly functional (I use only the most simple). Unfortunately, there is no time (to test!) , And so are you, I again after taking the efforts of the small production of functional strengthened, in particular to achieve recognition sensor can automatically ID function. I know that many people are very interested in right DS18B20 to enclose the source code, in-kind I have done well, very stable temperature measurement. We want to help.
- 2022-08-13 14:24:51下载
- 积分:1
充分实现
uart全功能实现.实现如下函数:
U_Open,
U_Close,
U_GetBytes,
U_PutBytes,
U_GetBytesAvail,
U_GetTxRoomLeft,
U_PutISRBytes,
U_GetTxISRRoomLeft,
U_Purge,
U_SetOwner,
U_SetFlowCtrl,
U_ConfigEscape,
U_SetDCBConfig,
U_CtrlDCD,
U_CtrlBreak,
U_ClrRxBuffer,
U_ClrTxBuffer,
U_SetBaudRate,
U_SendISRData,
U_SendData,
U_GetOwnerID,
U_SetAutoBaud_Div,
/*TY adds these to expand flexibility 2004/10/15*/
U_Register_TX_cb,
U_Register_RX_cb,
/*TY adds these to let virtual COM port can retrive exception log 2005/3/8*/
U_GetUARTByte,
U_PutUARTByte,
U_PutUARTBytes,
/*for virtual com port to return DCB configuration*/
U_ReadDCBConfig,
U_CtrlRI,
U_CtrlDTR,
U_ReadHWStatus -the realization of full-featured UART. to achieve the following functions: U_Open, U_Close, U_GetBytes, U_PutBytes, U_GetBytesAvail, U_GetTxRoomLeft, U_PutISRBytes, U_GetTxISRRoomLeft, U_Purge, U_SetOwner, U_SetFlowCtrl, U_ConfigEscape, U_SetDCBConfig, U
- 2022-01-31 05:01:21下载
- 积分:1