glcd

I

ilker_32

Guest
ciao a tutti!
dispiace, il mio inglese è male.<img src="http://img514.imageshack.us/img514/7205/76162170.th.png" border="0" alt=""/> <img src="http://img514.imageshack.us/img514/8905/54692031.th.png" border="0" alt=""/> Codice:

# Include <89c51rd2.H>

# Include <stdio.h>

# Include "Tablo.h"

La # include "G_LCD.h 'main ()

(

int x = 0, y = 0, dati_X = 0, i = 0, j = 0;

bit color = 0;GLCD_Ekran (0); / / riempimento sono

x = 0;

y = 0;

Ritardo (10000);

GLCD_Ekran (0);

Ritardo (10000);

GLCD_Ekran (0);

Dispbye ();

DispBAYRAK ();

DispGS ();

Ritardo (10000);

)Dispbye ()

(

int x, y, i, j;

for (i = 0; i <2; i )

(

j = 0;

Ritardo (10000);

for (y = 0, y <8; y )

(

for (x = 0, x <= 127, x ) / / colonna circuito tra

(

if (i == 0)

GLCD_int_8Bit (x, y, TableBYE [j ]);

altro

GLCD_int_8Bit (x, y, (0xff-TableBYE [j ]));

)

)

Ritardo (10000);

)

)DispBAYRAK ()

(

int x, y, i, j;

for (i = 0; i <2; i )

(

j = 0;

for (y = 0, y <8; y )

(

for (x = 0, x <= 127, x )

(

if (i == 0)

GLCD_int_8Bit (x, y, TableBAYRAK [j ]);

altro

GLCD_int_8Bit (x, y, (0xff-TableBAYRAK [j ]));

)

)

Ritardo (10000);

)

)DispGS ()

(

int x, y, i, j;

for (i = 0; i <2; i )

(

j = 0;

for (y = 0, y <8; y )

(

for (x = 0, x <= 127, x )

(

if (i == 0)

GLCD_int_8Bit (x, y, TableGS [j ]);

altro

GLCD_int_8Bit (x, y, (0xff-TableGS [j ]));

)

)

Ritardo (10000);

)

)
 

Welcome to EDABoard.com

Sponsor

Back
Top