johnnykhor
Member level 1
previously i was using PIC16 family.
now, i am trying to switch to PIC18, and i am using PIC18F2455 for my current project.
can anyone help me in the header?
i mean how to start.
eg: in PIC16F877, i put this in the top part of the program
LIST P=16F877A
#include "p16f877a.inc"
__CONFIG _CP_OFF & _WDT_OFF & _HS_OSC & _PWRTE_ON & _LVP_OFF
so, my question is, can i do it in PIC18 too?
LIST P=18F2455
#include "p18f2455.inc"
__CONFIG _CP_OFF & _WDT_OFF & _HS_OSC & _PWRTE_ON & _LVP_OFF
thx in advance for helping.
now, i am trying to switch to PIC18, and i am using PIC18F2455 for my current project.
can anyone help me in the header?
i mean how to start.
eg: in PIC16F877, i put this in the top part of the program
LIST P=16F877A
#include "p16f877a.inc"
__CONFIG _CP_OFF & _WDT_OFF & _HS_OSC & _PWRTE_ON & _LVP_OFF
so, my question is, can i do it in PIC18 too?
LIST P=18F2455
#include "p18f2455.inc"
__CONFIG _CP_OFF & _WDT_OFF & _HS_OSC & _PWRTE_ON & _LVP_OFF
thx in advance for helping.