Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   programming an 20x4 LCD in C++ over I2C (http://www.chiefdelphi.com/forums/showthread.php?t=134312)

mr_abomination 10-02-2015 18:55

programming an 20x4 LCD in C++ over I2C
 
As the title suggests my team is using a 20x4 lcd screen connected to a mjkdz i2c board. the problem as it stands however is now we have no idea how to program it. there is a lot of documentation online about using this with an arduino, but nothing else really.

all we want to do is for when a button is pushed have
Code:

********************
Operation  Nighthawk
 is super effective
********************

display on the screen.

We think the address for the board is 0x27, but we're not entirely confident. Has anyone gotten an LCD screen working this year and if so could you share your code?

amreuland 11-02-2015 11:30

Re: programming an 20x4 LCD in C++ over I2C
 
I wrote a class for java, but you should be able to convert it to c++.
It works pretty well too.

https://github.com/robolib/robolibj/...e/LCD2004.java

Sorry there is no documentation on it yet. I have not gotten to that part.


All times are GMT -5. The time now is 01:38.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi