Go to Post A quote from the Southern California Regional Visitors guide: "If you are having problems the FIRST thing to do is ask your neighbor for help" - ChrisH [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 10-02-2015, 18:55
mr_abomination mr_abomination is offline
Registered User
FRC #4733
 
Join Date: Feb 2014
Rookie Year: 2012
Location: Canada
Posts: 9
mr_abomination is an unknown quantity at this point
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?

Last edited by mr_abomination : 10-02-2015 at 18:57.
  #2   Spotlight this post!  
Unread 11-02-2015, 11:30
amreuland's Avatar
amreuland amreuland is offline
Overworked Insomniac
AKA: Austin
FRC #2583 (Westwood Robotics)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Austin TX
Posts: 18
amreuland is on a distinguished road
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.
__________________
RoboLib - An enhanced FRC Library http://robolib.github.io/

Lone Star Match 85 - Arena and Robot Video https://www.youtube.com/watch?v=5tgJZ-s3dIQ
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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