ho un problema con un PIC18F2620.
Vorrei disabilitare il MCLR, ma con l'istruzione
Codice: Seleziona tutto
@ DEVICE MCLR_OFF
Come posso fare? sto impazzendo....
Codice: Seleziona tutto
@ DEVICE MCLR_OFF
Codice: Seleziona tutto
;****************************************************************
;* 18F2620.INC *
;* *
;* By : Leonard Zerman, Jeff Schmoyer *
;* Notice : Copyright (c) 2006 microEngineering Labs, Inc. *
;* All Rights Reserved *
;* Date : 06/05/06 *
;* Version : 2.47 *
;* Notes : *
;****************************************************************
NOLIST
ifdef PM_USED
LIST
"Error: PM does not support this device. Use MPASM."
NOLIST
else
LIST
LIST p = 18F2620, r = dec, w = -311, f = inhx32
INCLUDE "P18F2620.INC" ; MPASM Header
__CONFIG _CONFIG1H, _OSC_INTIO67_1H
__CONFIG _CONFIG2H, _WDT_ON_2H & _WDTPS_128_2H
__CONFIG _CONFIG3H, _PBADEN_OFF_3H & _MCLRE_OFF_3H
__CONFIG _CONFIG4L, _LVP_OFF_4L & _XINST_OFF_4L
NOLIST
endif
LIST
EEPROM_START EQU 0F00000h
BLOCK_SIZE EQU 8