i just bought a pickit 3 but i cannot use the tutorials because i change the embedded microcontroller into pic16f887 while ordering. the tutorial in the cd is about p18f45K20.. please help me i cannot do the lessons included.
it seems fine my only problem is i cannot do the tutorials because my mcu is different.#pragma config FOSC = INTIO67
#pragma config WDTEN = OFF, LVP = OFF, MCLRE = OFF
/** I N C L U D E S **************************************************/
#include "p18f45k20.h"
/** D E C L A R A T I O N S ******************************************/
void main (void)
{
TRISD = 0b01111111; // PORTD bit 7 to output (0); bits 6:0 are inputs (1)
LATDbits.LATD7 = 1; // Set LAT register bit 7 to turn on LED
while (1)
;
}