Hola a todos
Tengo un problema al compilar con el PIC18, el error es el siguente:
Error[105] C:\USERS\ALEJANDRO\DESKTOP\PROJECTS MPLAB\NITO_PROJECT.ASM 72 : Cannot open file (Include File "RETARDOS.INC" not found)
Halting build on first failure as requested.
ya agregue el archivo de retardos.inc en la carpeta de Header Files y lo guarde iy aun asi sigo teniendo ese error, agradeceria su ayuda, gracias
tambien dejo el programa para que lo vean...
__CONFIG _CP_OFF & _WDT_OFF & _PWRTE_ON & _XT_OSC
LIST P=16F84
#include <p16F84a.inc>
CBLOCK 0X0C
ENDC
#DEFINE B0 BCF STATUS,RP0
#DEFINE B1 BSF STATUS,RP0
#DEFINE SERVO PORTB,7
ORG 0
B1
MOVLW B'00001111'
MOVWF TRISB
BCF OPTION_REG,NOT_RBPU
B0
BCF SERVO
INICIO
BTFSS PORTB,0
GOTO DERECHA
BTFSS PORTB,1
GOTO IZQUIERDA
BSF SERVO
CALL RET_CENTRO
BCF SERVO
CALL RET_RESTANTE
GOTO INICIO
DERECHA
BSF SERVO
CALL Retardo_1ms
CALL Retardo_500micros
CALL Retardo_200micros
CALL Retardo_100micros
;CALL Retardo_20micros
NOP
NOP
NOP
NOP
BCF SERVO
CALL RET_RESTANTE
GOTO INICIO
IZQUIERDA
BSF SERVO
CALL Retardo_1ms
CALL Retardo_50micros
CALL Retardo_20micros
;CALL Retardo_20micros
BCF SERVO
CALL RET_RESTANTE
GOTO INICIO
RET_CENTRO
CALL Retardo_1ms
CALL Retardo_200micros
CALL Retardo_200micros
CALL Retardo_50micros
;CALL Retardo_10micros
;CALL Retardo_20micros
RETURN
RET_RESTANTE
CALL Retardo_10ms
RETURN
INCLUDE<RETARDOS.INC>
END
muchas gracias