trying to capture a serial stream with a bit-banged routine triggered from an isr is difficult to make reliable far better to use the eusart module.
to reset rbcif flag you...
Can't get accurate current readings. VBUS voltage is correct but I can't figure out the code for current. All voltages will be <36 volts and current <0.8 amps. Any help would be greatly...
I am new to PICS. I am using MPLAB with a PICKT 3 programmer. I have wrote a simple program to blink a LED, it complies OK and appears to successfully load to my PIC. The LED comes on but does to...
@ INT_DISABLE RBC_INT
this is most likely pointless. a pic can execute one and only one interrupt at a time, only a low priority interrupt can be interrupted
i...
dos this makes any sense to you?
I added a debugin line with timeout and jump label inside my interrupt block and this is causing the code not work as expected as well!
Re: PIC 16F1613 progam not working
maybe you mean
richard Yesterday, 23:20while(1){
LATAbits.LATA4=1;
_delay(1000000);
LATAbits.LATA4=0;
_delay(1000000);
}
while(1)