Page 1 of 1
I2C Interface in C+
Posted: Mon Nov 27, 2006 2:36 pm
by Don
I have a LK202-25 display that I plan to interface on a I2C bus through a C+ application. Is anyone aware of some sample C/C+ code to demonstrate how to do this?
Thank you.
Posted: Mon Nov 27, 2006 2:52 pm
by Raquel
Posted: Fri Dec 01, 2006 2:07 pm
by Don
Hi Raquel, can I step back for some "basic" instructions? I see that the default I2C slave address for the LK202-25 is 0x50. I am new to I2C protocol, but isn't there usually some type of DMA data buffers when communicating with devices? I don't see this documented.
Can you show me an example (after the I2C bus has been properly initialized) how do I write "Hello World" to the display?
Thank you.
Posted: Fri Dec 01, 2006 3:33 pm
by Jon
Hi Don,
Have a look at this page:
http://www.matrixorbital.ca/appnotes/i2c/
let me know if this helps.
--
Jon
Posted: Fri Dec 01, 2006 4:36 pm
by Don
Hi Jon, I did take a look at this page before I made my post. I am looking for documentation beyond the LK202-25 Technical Manual, or a simple "Hello World" example to write to the display.
--
Jon[/quote]