January 24, 2011
about 4 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:
No public wish lists :(
Forgot your password?
No account? Register one!