Rev 869 | Rev 998 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 869 | Rev 996 | ||
|---|---|---|---|
| Line 2... | Line 2... | ||
| 2 | 2 | ||
| 3 | act_hd44780_ID=<ID> |
3 | act_hd44780_ID=<ID> |
| 4 | act_hd44780_WIDTH=20 |
4 | act_hd44780_WIDTH=20 |
| 5 | act_hd44780_HEIGHT=4 |
5 | act_hd44780_HEIGHT=4 |
| 6 | act_hd44780_INITIAL_BACKLIGHT=0x7F |
6 | act_hd44780_INITIAL_BACKLIGHT=0x7F |
| - | 7 | ||
| - | 8 | #this is contrast on an lcd and brightness on oled (default value of 0xf0 should be good on oled) |
|
| - | 9 | act_hd44780_INITIAL_CONTRAST=0x10 |
|
| 7 | 10 | ||
| 8 | # PIN definitions for CoreCard setup |
11 | # PIN definitions for CoreCard setup |
| 9 | LCD_PORT=PORTB /* port for the LCD lines */ |
12 | LCD_PORT=PORTB /* port for the LCD lines */ |
| 10 | LCD_DATA0_PORT=PORTD /* port for 4bit data bit 0 */ |
13 | LCD_DATA0_PORT=PORTD /* port for 4bit data bit 0 */ |
| 11 | LCD_DATA1_PORT=PORTD /* port for 4bit data bit 1 */ |
14 | LCD_DATA1_PORT=PORTD /* port for 4bit data bit 1 */ |
| Line 19... | Line 22... | ||
| 19 | LCD_RS_PIN=7 /* pin for RS line */ |
22 | LCD_RS_PIN=7 /* pin for RS line */ |
| 20 | LCD_RW_PORT=LCD_PORT /* port for RW line */ |
23 | LCD_RW_PORT=LCD_PORT /* port for RW line */ |
| 21 | LCD_RW_PIN=2 /* pin for RW line */ |
24 | LCD_RW_PIN=2 /* pin for RW line */ |
| 22 | LCD_E_PORT=LCD_PORT /* port for Enable line */ |
25 | LCD_E_PORT=LCD_PORT /* port for Enable line */ |
| 23 | LCD_E_PIN=0 /* pin for Enable line */ |
26 | LCD_E_PIN=0 /* pin for Enable line */ |
| - | 27 | ||
| - | 28 | # PIN definitions for LCDNode setup |
|
| - | 29 | #LCD_PORT=PORTD /* port for the LCD lines */ |
|
| - | 30 | #LCD_DATA0_PORT=PORTC /* port for 4bit data bit 0 */ |
|
| - | 31 | #LCD_DATA1_PORT=PORTC /* port for 4bit data bit 1 */ |
|
| - | 32 | #LCD_DATA2_PORT=PORTD /* port for 4bit data bit 2 */ |
|
| - | 33 | #LCD_DATA3_PORT=PORTD /* port for 4bit data bit 3 */ |
|
| - | 34 | #LCD_DATA0_PIN=4 /* pin for 4bit data bit 0 */ |
|
| - | 35 | #LCD_DATA1_PIN=5 /* pin for 4bit data bit 1 */ |
|
| - | 36 | #LCD_DATA2_PIN=6 /* pin for 4bit data bit 2 */ |
|
| - | 37 | #LCD_DATA3_PIN=7 /* pin for 4bit data bit 3 */ |
|
| - | 38 | #LCD_RS_PORT=PORTD /* port for RS line */ |
|
| - | 39 | #LCD_RS_PIN=0 /* pin for RS line */ |
|
| - | 40 | #LCD_RW_PORT=PORTD /* port for RW line */ |
|
| - | 41 | #LCD_RW_PIN=1 /* pin for RW line */ |
|
| - | 42 | #LCD_E_PORT=PORTD /* port for Enable line */ |
|
| - | 43 | #LCD_E_PIN=4 /* pin for Enable line */ |
|
| - | 44 | ||
| 24 | 45 | ||
| 25 | ## End section act_hd44780 -- Do not edit this line |
46 | ## End section act_hd44780 -- Do not edit this line |