Q&A: Philips LCD Demo Board code

Q&A: Philips LCD Demo Board code

6 years 4 months ago
#81
(This message was transferred over from our old forum)
Posted August 14, 2015
By Todd DeBoer
[hr]
On 1/11/10 bmedic asked, “I am trying to understand code for the Philips LCD Demo board. Looking at the code, line 36 through 38 are used to load G_Display with LCD mode set bits. In particular, line 36 has value of 0x4C and a definitaion of: “// Mode set (1/3 bias, enabled, static display)” which would correspond to the following bit pairs: 0100 1100
However, looking at the PCF8562 datasheet, to set the mode to 1/3 bias, enable LCD, and set drive mode to 1:4 corresponding mode set bits should be 0100 1000 or 0x48. Please advise”
[hr]
(Follow up post)

Answered:

The comment and code probably do not match. There should be no harm in trying different settings, but the value that is currently used (0x4C) has been deemed the best for viewing. You probably should stay with that.

Please Log in or Create an account to join the conversation.

Time to create page: 0.412 seconds
Powered by Kunena Forum