Hello, I added this lines to my code:
include pps pps_control_lock(FALSE) -- UART RC6PPS = PPS_TX1 -- TX1 re-assigned to C6 (default) RX1DTPPS = PPS_RC7 -- C7 re-assigned to RX1 (default) RB6PPS = PPS_TX2 -- TX2 re-assigned to B6 (default) RX2DTPPS = PPS_RB7 -- B7 re-assigned to RX2 (default) -- I2C RC3PPS = PPS_SCL1 -- pin_C3 is SCL1 output SSP1CLKPPS = PPS_RC3 -- SCL1 input at pin_C3 RC4PPS = PPS_SDA1 -- pin_C4 is SDA1 output SSP1DATPPS = PPS_RC4 -- SDA1 input at pin_C4 pps_control_lock(TRUE) and all started to work like a charm! Thank you for this HUGE help. -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/701cdba9-0766-4921-8f45-c49bf294f6e2%40googlegroups.com.
