Member #197735

Member Since: January 24, 2011

Country: United States

  • Product LCD-10168 | about 3 years ago

    If you wanna make the first (simple) example code at http://www.arduino.cc/playground/Code/PCD8544 work you should add (in void LcdInitialise(void))
    LcdWrite( LCD_CMD, 0x21 ); // LCD Extended Commands.
    LcdWrite( LCD_CMD, 0xBf ); // Set LCD Vop (Contrast). //B1
    LcdWrite( LCD_CMD, 0x04 ); // Set Temp coefficent. //0x04
    LcdWrite( LCD_CMD, 0x14 ); // LCD bias mode 1:48. //0x13
    LcdWrite( LCD_CMD, 0x0C ); // LCD in normal mode. 0x0d for inverse
    (taken from the second code example) and also in the beginning of your code:

    define LCD_CMD 0

No public wish lists :(