88 | | /* 8-bit mode */ |
89 | | 1. Fonction 8-bit (4 MSB bits), wait 50 us |
90 | | 1. Fonction 8-bit (4 MSB bits), wait 50 us |
91 | | 1. Fonction 8-bit (4 MSB bits), wait 50 us |
92 | | /* 4-bit mode */ |
93 | | 1. Fonction 4-bit (4 MSB bits), wait 50 us |
94 | | /* 2 rows */ |
95 | | 1. Fonction with 2 lines, wait |
96 | | /* Activate display */ |
97 | | 1. Display control with display on, wait |
98 | | /* Increment cursor on read/write operation */ |
99 | | 1. Entry mode with forward cursor, wait |
100 | | /* Cursor move on the display */ |
101 | | 1. Cursor/display shift right, wait |
102 | | /* Clear */ |
103 | | 1. Clear display |
| 88 | 1. Fonction 8-bit (4 MSB bits), wait 50 us /* 8-bit mode */ |
| 89 | 2. Fonction 8-bit (4 MSB bits), wait 50 us |
| 90 | 3. Fonction 8-bit (4 MSB bits), wait 50 us |
| 91 | 4. Fonction 4-bit (4 MSB bits), wait 50 us /* 4-bit mode */ |
| 92 | |
| 93 | 5. Fonction with 2 lines, wait /* 2 rows */ |
| 94 | |
| 95 | 6. Display control with display on, wait /* Activate display */ |
| 96 | |
| 97 | 7. Entry mode with forward cursor, wait /* Increment cursor on read/write operation */ |
| 98 | |
| 99 | 8. Cursor/display shift right, wait /* Cursor move on the display */ |
| 100 | |
| 101 | 9. Clear display /* Clear */ |