6 void UTFT::LCD_Writ_Bus(
char VH,
char VL, byte mode)
11 if (display_serial_mode==SERIAL_4PIN)
17 pulse_low(P_SCL, B_SCL);
31 pulse_low(P_SCL, B_SCL);
36 pulse_low(P_SCL, B_SCL);
41 pulse_low(P_SCL, B_SCL);
46 pulse_low(P_SCL, B_SCL);
51 pulse_low(P_SCL, B_SCL);
56 pulse_low(P_SCL, B_SCL);
61 pulse_low(P_SCL, B_SCL);
66 pulse_low(P_SCL, B_SCL);
70 pulse_low(P_WR, B_WR);
72 pulse_low(P_WR, B_WR);
77 sport(PORTC, (VL>>6) & 0x03);
79 pulse_low(P_WR, B_WR);
84 pulse_high(P_ALE, B_ALE);
87 pulse_low(P_WR, B_WR);
93 void UTFT::_set_direction_registers(byte mode)
104 void UTFT::_fast_fill_16(
int ch,
int cl,
long pix)
110 sport(PORTC, (cl>>6) & 0x03);
114 for (
int i=0; i<blocks; i++)
116 pulse_low(P_WR, B_WR);
117 pulse_low(P_WR, B_WR);
118 pulse_low(P_WR, B_WR);
119 pulse_low(P_WR, B_WR);
120 pulse_low(P_WR, B_WR);
121 pulse_low(P_WR, B_WR);
122 pulse_low(P_WR, B_WR);
123 pulse_low(P_WR, B_WR);
124 pulse_low(P_WR, B_WR);
125 pulse_low(P_WR, B_WR);
126 pulse_low(P_WR, B_WR);
127 pulse_low(P_WR, B_WR);
128 pulse_low(P_WR, B_WR);
129 pulse_low(P_WR, B_WR);
130 pulse_low(P_WR, B_WR);
131 pulse_low(P_WR, B_WR);
134 for (
int i=0; i<(pix % 16)+1; i++)
136 pulse_low(P_WR, B_WR);
140 void UTFT::_fast_fill_8(
int ch,
long pix)
147 for (
int i=0; i<blocks; i++)
149 pulse_low(P_WR, B_WR);pulse_low(P_WR, B_WR);
150 pulse_low(P_WR, B_WR);pulse_low(P_WR, B_WR);
151 pulse_low(P_WR, B_WR);pulse_low(P_WR, B_WR);
152 pulse_low(P_WR, B_WR);pulse_low(P_WR, B_WR);
153 pulse_low(P_WR, B_WR);pulse_low(P_WR, B_WR);
154 pulse_low(P_WR, B_WR);pulse_low(P_WR, B_WR);
155 pulse_low(P_WR, B_WR);pulse_low(P_WR, B_WR);
156 pulse_low(P_WR, B_WR);pulse_low(P_WR, B_WR);
157 pulse_low(P_WR, B_WR);pulse_low(P_WR, B_WR);
158 pulse_low(P_WR, B_WR);pulse_low(P_WR, B_WR);
159 pulse_low(P_WR, B_WR);pulse_low(P_WR, B_WR);
160 pulse_low(P_WR, B_WR);pulse_low(P_WR, B_WR);
161 pulse_low(P_WR, B_WR);pulse_low(P_WR, B_WR);
162 pulse_low(P_WR, B_WR);pulse_low(P_WR, B_WR);
163 pulse_low(P_WR, B_WR);pulse_low(P_WR, B_WR);
164 pulse_low(P_WR, B_WR);pulse_low(P_WR, B_WR);
167 for (
int i=0; i<(pix % 16)+1; i++)
169 pulse_low(P_WR, B_WR);pulse_low(P_WR, B_WR);