• Content Count

  • Joined

  • Last visited

  1. Thanks for that info Cristian, that explains it. I just used these commands instead and seems to work OK #define LD1 LATGbits.LATG12 TRISGbits.TRISG12=0 LD1=1; etc. thanks again
  2. I am trying to load my first program on to my new MX7 chipkit pro. I'm using the MX7_blink example written by Christian Fatu and Michele Yu. Using MPLAB X IDE I am getting errors during debugging, undefined reference to 'PORTWrite' and undefined reference to 'PORTSetPinsDigitalOut'. I am a rookie C coder, do these need to be declared as some type of functions above the main() ?