h.sharma
Junior Member level 3
hello everyone when I am simulating for pic18 mc in proteus it is not simulating expected, bt it is working perfect 4 pic16
my hex file is running perfect in pic simulator and also in debugging in mplab
i am attaching my ckt simulating in proteus
there is no prob with proteus for pic16
plz tell me whats wrong with this ckt and how to simulate for pic18 in proteus
my code is
my hex file is running perfect in pic simulator and also in debugging in mplab
i am attaching my ckt simulating in proteus
there is no prob with proteus for pic16
plz tell me whats wrong with this ckt and how to simulate for pic18 in proteus
my code is
Code:
#include<p18f4550.h>
#include<delays.h>
int i,d;
#define us(d) for(i=0;i<d;i++){Delay1TCY();}
#define ms(d) for(i=0;i<d;i++){Delay1KTCY();}
void main(void){
TRISB=0x00;
TRISD=0X00;
while(1){
PORTB=0XFF;
PORTD=0XFF;
}
}
Attachments
Last edited: