tempdemo.asm

来自「转载别人ds18b20proteus作品希望对proteus library里没」· 汇编 代码 · 共 35 行

ASM
35
字号
    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 + =
减小字号Ctrl + -
显示快捷键?