Rev 1201 | Blame | Compare with Previous | Last modification | View Log | SVN | RSS feed
## Section act_hd44780 -- Do not edit this lineact_hd44780_ID=<ID>act_hd44780_WIDTH=20act_hd44780_HEIGHT=4#TYPE=0 for lcd, TYPE=1 for oled, changes brightness behaivureact_hd44780_TYPE=1act_hd44780_INITIAL_BACKLIGHT=0x7F#this is contrast on an lcd and brightness on oled (default value of 0xf0 should be good on oled)act_hd44780_INITIAL_CONTRAST=0x10# PIN definitions for CoreCard setup#define LCD_E EXP_D#define LCD_RW EXP_B#define LCD_RS EXP_A#define LCD_DB4 EXP_J#define LCD_DB5 EXP_K#define LCD_DB6 EXP_L#define LCD_DB7 EXP_M# PIN definitions for LCDNode setup#LCD_PORT=PORTD /* port for the LCD lines */#LCD_DATA0_PORT=PORTC /* port for 4bit data bit 0 */#LCD_DATA1_PORT=PORTC /* port for 4bit data bit 1 */#LCD_DATA2_PORT=PORTD /* port for 4bit data bit 2 */#LCD_DATA3_PORT=PORTD /* port for 4bit data bit 3 */#LCD_DATA0_PIN=4 /* pin for 4bit data bit 0 */#LCD_DATA1_PIN=5 /* pin for 4bit data bit 1 */#LCD_DATA2_PIN=6 /* pin for 4bit data bit 2 */#LCD_DATA3_PIN=7 /* pin for 4bit data bit 3 */#LCD_RS_PORT=PORTD /* port for RS line */#LCD_RS_PIN=0 /* pin for RS line */#LCD_RW_PORT=PORTD /* port for RW line */#LCD_RW_PIN=1 /* pin for RW line */#LCD_E_PORT=PORTD /* port for Enable line */#LCD_E_PIN=4 /* pin for Enable line */## End section act_hd44780 -- Do not edit this line