?? 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 + -