How Do I change the LCD Contrast on the Simple Code?

Do you have a question on how to do something.
Ask in here.
Post Reply
Im2Nelson4u
Posts: 10
Joined: Mon Aug 22, 2011 7:40 pm

How Do I change the LCD Contrast on the Simple Code?

Post by Im2Nelson4u »

I gave up trying to install the developmental so I'm gonna stick to the Simple Code until I have more time to learn about RAGEN and it's settings.

After I reuploaded the Simple Code the LCD seems to be too bright and I dont see anywhere in the sample code that has a contrast setting.

I can't seem to find ReefAngel.LCD.SetContrast(x); or where to put it

thx
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: How Do I change the LCD Contrast on the Simple Code?

Post by rimai »

Nowhere to change contrast.
You will have to change the libraries to get that done.
It is inside Phillips6610LCDInv.cpp file. Look for line 338:

Code: Select all

  sendCMD(SETCON);
  sendData(0x36);
Change the number 0x36 to a lower number.
But, I'd like to point out how to get the dev libraries installed properly.
Simply install this app: http://forum.reefangel.com/viewtopic.php?f=8&t=2
You can update/convert libraries at will with just a click of a button.
Then I suggest you watching these youtube videos: http://forum.reefangel.com/viewtopic.php?f=15&t=60
Roberto.
Post Reply