📄 tempdemo.asm
字号:
list p=16F628A
include P16F628A.inc
include tempdemo.inc
include dal_bus.inc
include wait.inc
include lm032l.inc
;------defines for conditional assembly------
;#define round00
;#define test
;#define EEdsrom
;#define dog
errorlevel -302 ;Eliminate bank warning
;CONFIG CODE
#ifdef dog
__config _BODEN_OFF & _CP_OFF& _DATA_CP_OFF & _PWRTE_ON & _WDT_ON & _LVP_OFF & _MCLRE_ON & _XT_OSC
messg "W A T C H__________D O G"
#else
__config _BODEN_OFF & _CP_OFF& _DATA_CP_OFF & _PWRTE_ON & _WDT_OFF & _LVP_OFF & _MCLRE_ON & _XT_OSC
#endif ; dog
; noexpand
;****************************************************************************
;* *
;* Dallas 1 Wire Bus Temperature demo *
;* *
;* This file and the resulting compiled code copyright1993-97 Steve Lawther *
;* Use of any of this code requires Steve Lawther to have a credit *
;* within the source code. Commercial use of any of this code *
;* requires permission of the author, Steve Lawther *
;* For more details read 'README.TXT' or email 100255.157@compuserve.com *
;****************************************************************************
;* This outline requires IBM line draw chrs *
;* 谀哪腬/哪哪
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -