- Category:
- SCM
- Tags:
-
[C/C++]
[源码]
- File Size:
- 3kb
- Update:
- 2013-08-10
- Downloads:
- 0 Times
- Uploaded by:
- TYS
Description: As DS18B20 is a single operation, so it must be strictly complied with the timing requirements in order to establish contact with them and achieve normal read and write operations. Online programs are mostly seen mostly in the main way to delay implementation, and requires disable interrupts to achieve 18B20 right timing requirements. However, practical applications, operating temperature is generally used as auxiliary action, the main task is communication and data processing and other operations, so that, if the DS18B20 program code on the main program, is bound to affect other needs real-time processing of interrupts. A few days ago to play to the DS18B20, just try to 51 timer interrupt method to achieve DS18B20 timing, success in the bread board ran. SCM is used STC11F16XE, using an external crystal 24MHz.
To Search:
File list (Check if you may need any files):
test18b20.c