#pragma config FWDTEN=OFF  // Turn off watch dog timer

#include <xc.h>

#include <stdlib.h>
#include <stdint.h>

/*
    Pins used in project
    Output pins
    Pin 23 on PIC24HJ64GP502  --  AN12 /         RP12 / CN14 / RB12
    Pin 24 on PIC24HJ64GP502  --  AN11 /         RP13 / CN13 / RB13
 */

int main(void) {

    AD1PCFGL = 0xFFFF ;    // Set all pins for digital
    CNEN1 = 0 ;            // Disable change notification
    CNEN2 = 0 ;
    CNPU1 = 0 ;            // Disable weak pullup
    CNPU2 = 0 ;
    ODCA = 0 ;             // Disable open drain
    ODCB = 0 ;
    TRISA = 0 ;            // Set all pins for output
    TRISB = 0 ;

    return (EXIT_SUCCESS);
}

