Rev 188 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 188 | Rev 191 | ||
|---|---|---|---|
| Line 66... | Line 66... | ||
| 66 | Disable(); |
66 | Disable(); |
| 67 | Delay(); |
67 | Delay(); |
| 68 | SetControls(0,0); |
68 | SetControls(0,0); |
| 69 | SetData(0b00111111); |
69 | SetData(0b00111111); |
| 70 | Enable(); |
70 | Enable(); |
| - | 71 | ||
| - | 72 | glcdClear(); |
|
| - | 73 | } |
|
| - | 74 | ||
| - | 75 | void glcdClear(){ |
|
| - | 76 | LCD_CONTROL_PORT |= (1<<LCD_CONTROL_PIN_CS2)|(1<<LCD_CONTROL_PIN_CS1); |
|
| - | 77 | Enable(); |
|
| - | 78 | Delay(); |
|
| - | 79 | Disable(); |
|
| - | 80 | ||
| 71 | 81 | ||
| 72 | uint8_t i; |
82 | uint8_t i; |
| 73 | uint8_t j; |
83 | uint8_t j; |
| 74 | 84 | ||
| 75 | for(j = 0; j < 8; j++){ |
85 | for(j = 0; j < 8; j++){ |