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.
I2C Interface in C+
Hello Don,
Here are a couple of forum posts with I2C sample code:
http://lcdforums.com/forums/viewtopic.p ... 1e1e#17470
http://lcdforums.com/forums/viewtopic.p ... 1e1e#16607
I hope these help,
Here are a couple of forum posts with I2C sample code:
http://lcdforums.com/forums/viewtopic.p ... 1e1e#17470
http://lcdforums.com/forums/viewtopic.p ... 1e1e#16607
I hope these help,
Raquel Malinis
Design and Development
Matrix Orbital
Design and Development
Matrix Orbital
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.Raquel wrote:Hello Don,
Here are a couple of forum posts with I2C sample code:
http://lcdforums.com/forums/viewtopic.p ... 1e1e#17470
http://lcdforums.com/forums/viewtopic.p ... 1e1e#16607
I hope these help,
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.
-
- Matrix Orbital
- Posts: 231
- Joined: Mon Oct 24, 2005 10:38 am
- Location: Calgary, AB, Canada
- Contact:
Hi Don,
Have a look at this page:
http://www.matrixorbital.ca/appnotes/i2c/
let me know if this helps.
--
Jon
Have a look at this page:
http://www.matrixorbital.ca/appnotes/i2c/
let me know if this helps.
--
Jon