I2C_OneWire library

General discussion on mikroBasic PRO for PIC32.
Post Reply
Author
Message
phil31
Posts: 348
Joined: 02 Apr 2009 15:02
Location: France
Contact:

I2C_OneWire library

#1 Post by phil31 » 05 Dec 2019 23:34

Dear all,

i would like to try the I2C_OneWire click library from libstock.
( https://libstock.mikroe.com/projects/vi ... wire-click )

i can't find the init parameters for the i2conewire_i2cDriverInit procedure.

please, what it is if i want to use the I2C2A bus from my 32MX675F512H ? (pins 5 & 6 for the PT package)
the help file show some mikroBUS declaration in C language and the sample use mikroBUS only declaration !

thanks, regards
phil

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: I2C_OneWire library

#2 Post by filip » 12 Dec 2019 15:36

Hi,

Maybe the library source will be helpful to you, I'm attaching it here.

Regards,
Filip.
Attachments
I2C_1-WIRE_Click-master-SW.rar
(7.21 MiB) Downloaded 89 times

phil31
Posts: 348
Joined: 02 Apr 2009 15:02
Location: France
Contact:

Re: I2C_OneWire library

#3 Post by phil31 » 18 Dec 2019 10:55

thanks filip, i quickly check it, but the answer was not clear in my head !

please can you share the right init process in case we don't use mikroSDK ?

thanks, regards

phil31
Posts: 348
Joined: 02 Apr 2009 15:02
Location: France
Contact:

Re: I2C_OneWire library

#4 Post by phil31 » 21 Dec 2019 18:52

Filip,

please can you let us know if your library can work if we don't use your specific dev_boards ?
i wish to use your click board with my own cpu board and which don't use the I2C1 or 2 bus (as your mikrobus and mikroSDK ) ..?


for example, the 2 mikrobus sockets on your EasyPIC Fusion v7, are mapped to I2C2 (from my memory)..
so may i use your lib on the I2C3 or I2C4 or I2C5 of my 32MX675F512H target ..?

thanks, regards

Post Reply

Return to “mikroBasic PRO for PIC32 General”