Hi Robson,

This is a C file. This forum is about the JAL programming language.

Kind regards,

Rob


On Thursday, November 14, 2019 at 9:19:08 PM UTC+1, Robson M.S wrote:
>
> Hello, could you make the program available, please?
>
> I tried everything to get the i2c1 module plugged in, but to no avail. 
>
> My code is attached.
>
>
> Thanks for your help.
>
>
>
> Em segunda-feira, 2 de setembro de 2019 09:59:40 UTC-3, Gilles BARTHELEMY 
> escreveu:
>>
>> 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/e07e41c9-b49b-4801-8b04-40b2e7095c6f%40googlegroups.com.

Reply via email to