Rev 1401 | Details | Compare with Previous | Last modification | View Log | SVN | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 827 | migan | 1 | ## Section act_hd44780 -- Do not edit this line |
| 2 | |||
| 3 | act_hd44780_ID=<ID> |
||
| 4 | act_hd44780_WIDTH=20 |
||
| 5 | act_hd44780_HEIGHT=4 |
||
| 1201 | arune | 6 | #TYPE=0 for lcd, TYPE=1 for oled, changes brightness behaivure |
| 1356 | arune | 7 | act_hd44780_TYPE=0 |
| 998 | arune | 8 | |
| 1356 | arune | 9 | #only used on an lcd |
| 827 | migan | 10 | act_hd44780_INITIAL_BACKLIGHT=0x7F |
| 11 | |||
| 996 | arune | 12 | #this is contrast on an lcd and brightness on oled (default value of 0xf0 should be good on oled) |
| 13 | act_hd44780_INITIAL_CONTRAST=0x10 |
||
| 14 | |||
| 827 | migan | 15 | # PIN definitions for CoreCard setup |
| 1401 | runge | 16 | LCD_E=EXP_D |
| 17 | LCD_RW=EXP_B |
||
| 18 | LCD_RS=EXP_A |
||
| 19 | LCD_DB4=EXP_J |
||
| 20 | LCD_DB5=EXP_K |
||
| 21 | LCD_DB6=EXP_L |
||
| 22 | LCD_DB7=EXP_M |
||
| 827 | migan | 23 | |
| 996 | arune | 24 | # PIN definitions for LCDNode setup |
| 25 | #LCD_PORT=PORTD /* port for the LCD lines */ |
||
| 26 | #LCD_DATA0_PORT=PORTC /* port for 4bit data bit 0 */ |
||
| 27 | #LCD_DATA1_PORT=PORTC /* port for 4bit data bit 1 */ |
||
| 28 | #LCD_DATA2_PORT=PORTD /* port for 4bit data bit 2 */ |
||
| 29 | #LCD_DATA3_PORT=PORTD /* port for 4bit data bit 3 */ |
||
| 30 | #LCD_DATA0_PIN=4 /* pin for 4bit data bit 0 */ |
||
| 31 | #LCD_DATA1_PIN=5 /* pin for 4bit data bit 1 */ |
||
| 32 | #LCD_DATA2_PIN=6 /* pin for 4bit data bit 2 */ |
||
| 33 | #LCD_DATA3_PIN=7 /* pin for 4bit data bit 3 */ |
||
| 34 | #LCD_RS_PORT=PORTD /* port for RS line */ |
||
| 35 | #LCD_RS_PIN=0 /* pin for RS line */ |
||
| 36 | #LCD_RW_PORT=PORTD /* port for RW line */ |
||
| 37 | #LCD_RW_PIN=1 /* pin for RW line */ |
||
| 38 | #LCD_E_PORT=PORTD /* port for Enable line */ |
||
| 39 | #LCD_E_PIN=4 /* pin for Enable line */ |
||
| 40 | |||
| 1427 | linlun | 41 | act_hd44780_USE_AUTO_BL=1 |
| 42 | act_hd44780_LIGHTSENSOR_AD=7 |
||
| 43 | ADCHAN7=1 |
||
| 996 | arune | 44 | |
| 1427 | linlun | 45 | |
| 996 | arune | 46 | ## End section act_hd44780 -- Do not edit this line |