Page 1 of 1

Multiple software I2C, modified LCD library

Posted: 16 Apr 2013 11:48
by one25
Looking for a software I2C library I realize that MikroC doesn't have what I need... or at least I didn't find it.

Having more I2C devices with the same adress, I thought that using multiple I2C lines will solve the problem. Unfortunately, software I2C create only one. Would be very useful If we had the possibility to define more I2C interfaces.
For now I will try to use a multiplexing circuit or to write my own software I2C library (or to use the library "as it is" but redefining pins by using a macro every time I change line ).

Another suggestion is about LCD library. Since the R/W pin is not used, you don't know if data on display is exactly what you transmitted. If you have a long LCD cable, for example the LCD is on the electrical box door and the board is on the opposite wall, the noise in the environment will disturb your data and you'll have strange characters on display. Reading back should improve the noise reduction.

Re: Multiple software I2C, modified LCD library

Posted: 17 Apr 2013 10:02
by filip
Hi,

Thank you for your suggestion, I will pass them to our developers.

Regards,
Filip.

Re: Multiple software I2C, modified LCD library

Posted: 26 Mar 2015 17:29
by jsbhalla88
For now I will try to use a multiplexing circuit or to write my own software I2C library (or to use the library "as it is" but redefining pins by using a macro every time I change line ).
can anyone help me with that..??? i don't know anything about marco I need 2 I2Cs for my application..