MS12864FͼÐεãÕóÒº¾§ÏÔʾģ¿éʹÓÃÊÖ²á

LCALL DELAY

MOV COMMAND,#0B0H LCALL WRITE_COMMAND MOV DATA2,#00H LCALL WRITE_DATA MOV DATA2,#00H LCALL WRITE_DATA

MOV COMMAND,#24H LCALL WRITE_COMMAND MOV R2,#2 TIAO3: MOV R1,#255

MMM2: MOV DATA2,#82H LCALL WRITE_DATA DJNZ R1,MMM2 DJNZ R2,TIAO3

MOV COMMAND,#0B2H LCALL WRITE_COMMAND LCALL DELAY

MOV COMMAND,#0B0H LCALL WRITE_COMMAND MOV DATA2,#00H LCALL WRITE_DATA MOV DATA2,#00H LCALL WRITE_DATA

MOV COMMAND,#24H LCALL WRITE_COMMAND MOV R2,#2 TIAO4: MOV R1,#255 NN: MOV DATA2,#83H LCALL WRITE_DATA DJNZ R1,NN DJNZ R2,TIAO4

MOV COMMAND,#0B2H LCALL WRITE_COMMAND LCALL DELAY

MOV COMMAND,#0B0H LCALL WRITE_COMMAND MOV DATA2,#00H LCALL WRITE_DATA

;ÏÔʾµØÖ·ÉèÖÀ;ÏÔʾµØÖ·ÉèÖÀ

MOV DATA2,#00H LCALL WRITE_DATA

MOV COMMAND,#24H ;ÏÔʾµØÖ·ÉèÖÀ LCALL WRITE_COMMAND MOV R2,#2 TIAO5: MOV R1,#255

NN1: MOV DATA2,#84H LCALL WRITE_DATA DJNZ R1,NN1 DJNZ R2,TIAO5

MOV COMMAND,#0B2H LCALL WRITE_COMMAND LCALL DELAY

MOV COMMAND,#0B0H LCALL WRITE_COMMAND MOV DATA2,#00H LCALL WRITE_DATA MOV DATA2,#00H LCALL WRITE_DATA

MOV COMMAND,#24H LCALL WRITE_COMMAND MOV R2,#2 TIAO6: MOV R1,#255

NN2: MOV DATA2,#85H LCALL WRITE_DATA DJNZ R1,NN2 DJNZ R2,TIAO6

MOV COMMAND,#0B2H LCALL WRITE_COMMAND LCALL DELAY

MOV COMMAND,#0B0H LCALL WRITE_COMMAND MOV DATA2,#00H LCALL WRITE_DATA MOV DATA2,#00H LCALL WRITE_DATA

MOV COMMAND,#24H LCALL WRITE_COMMAND MOV R2,#2 TIAO7: MOV R1,#255

NN3: MOV DATA2,#86H

;ÏÔʾµØÖ·ÉèÖÀ ;ÏÔʾµØÖ·ÉèÖÀ LCALL WRITE_DATA DJNZ R1,NN3 DJNZ R2,TIAO7

MOV COMMAND,#0B2H LCALL WRITE_COMMAND LCALL DELAY

MOV COMMAND,#0B0H LCALL WRITE_COMMAND MOV DATA2,#00H LCALL WRITE_DATA MOV DATA2,#00H LCALL WRITE_DATA

MOV COMMAND,#24H LCALL WRITE_COMMAND MOV R2,#2 TIAO8: MOV R1,#255

NN4: MOV DATA2,#87H LCALL WRITE_DATA DJNZ R1,NN4 DJNZ R2,TIAO8

MOV COMMAND,#0B2H LCALL WRITE_COMMAND LCALL DELAY

MOV DATA2,#00H LCALL WRITE_DATA MOV DATA2,#00H LCALL WRITE_DATA

MOV COMMAND,#24H LCALL WRITE_COMMAND MOV R3,#00H MOV R4,#20H

MOV COMMAND,#0B0H LCALL WRITE_COMMAND MM1: MOV R4,#20H MM: MOV A,#00H MOV DATA2,A

LCALL WRITE_DATA DJNZ R4,MM DJNZ R3,MM1

MOV COMMAND,#0B2H LCALL WRITE_COMMAND

;ÏÔʾµØÖ·ÉèÖÀ;ÏÔʾµØÖ·ÉèÖà ;×Ô¶¯Ð´Èë ;ÍƳö×Ô¶¯Ð´Èë

;##################################################### TIAN:

MOV DATA2,#00H ;ÏÔʾµØÖ· LCALL WRITE_DATA MOV DATA2,#08H LCALL WRITE_DATA MOV COMMAND,#24H LCALL WRITE_COMMAND

MOV COMMAND,#0B0H LCALL WRITE_COMMAND MOV R2,#10H MOV R1,#000H

MOV DPTR,#TIANSHI SSS: NOP SSS1: CLR A

MOVC A,@A+DPTR MOV DATA2,A

LCALL WRITE_DATA INC DPTR DJNZ R1,SSS1 DJNZ R2,SSS

MOV COMMAND,#0B2H LCALL WRITE_COMMAND LCALL DELAY LJMP MAIN

TEST: DB 0FFH,00H,0FFH,00H,0FFH,00H,0FFH,00H DB 00H,0FFH,00H,0FFH,00H,0FFH,00H,0FFH

DB 0AAH,0AAH,0AAH,0AAH,0AAH,0AAH,0AAH,0AAH DB 55H,55H,55H,55H,55H,55H,55H,55H

DB 0AAH,55H,0AAH,55H,0AAH,55H,0AAH,55H DB 55H,0AAH,55H,0AAH,55H,0AAH,55H,0AAH DB 0F0H,0F0H,0F0H,0F0H,0FH,0FH,0FH,0FH DB 0FH,0FH,0FH,0FH,0F0H,0F0H,0F0H,0F0H

TIANSHI:

DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH DB 0C0H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,003H

DB 0C0H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,003H DB 0C0H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,003H DB 0C1H,004H,008H,000H,010H,010H,000H,000H,000H,000H,002H,000H,048H,009H,001H,003H DB 0C0H,088H,006H,07FH,008H,008H,007H,0F8H,00FH,0FEH,001H,000H,048H,008H,089H,003H DB 0CFH,0FFH,084H,041H,009H,0FFH,084H,008H,008H,042H,000H,080H,048H,048H,089H,003H DB 0C0H,020H,03FH,049H,002H,048H,007H,0F8H,008H,042H,000H,0C0H,07FH,048H,00FH,0F3H DB 0C3H,0FFH,001H,049H,022H,048H,004H,008H,008H,042H,008H,080H,088H,048H,011H,003H DB 0C0H,020H,002H,049H,014H,09FH,007H,0F8H,00FH,0FEH,008H,001H,008H,048H,001H,003H DB 0C0H,020H,004H,049H,014H,091H,004H,008H,008H,042H,008H,010H,0FFH,04BH,0BFH,0FBH DB 0CFH,0FFH,0CAH,049H,005H,0AAH,000H,000H,008H,042H,048H,008H,008H,048H,080H,003H DB 0C0H,020H,015H,049H,00AH,0E6H,03FH,03FH,008H,042H,048H,004H,07FH,048H,08FH,0E3H DB 0C0H,020H,025H,095H,008H,094H,021H,021H,00FH,0FEH,048H,006H,049H,048H,088H,023H DB 0C7H,0FFH,085H,014H,038H,088H,03FH,03FH,008H,042H,088H,004H,049H,048H,088H,023H DB 0C0H,050H,004H,024H,008H,08CH,021H,021H,008H,042H,008H,010H,049H,048H,08FH,0E3H DB 0C0H,088H,004H,024H,088H,094H,021H,021H,010H,042H,008H,010H,049H,008H,088H,023H DB 0C1H,006H,004H,044H,088H,0A2H,03FH,03FH,010H,042H,008H,010H,04FH,009H,040H,003H DB 0C6H,003H,084H,083H,088H,0C3H,0A1H,021H,020H,04AH,007H,0F0H,00AH,02AH,03FH,0FBH DB 0D8H,001H,005H,000H,008H,081H,000H,000H,040H,044H,000H,000H,008H,010H,000H,003H DB 0C0H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,003H DB 0C0H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,003H DB 0C0H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,003H DB 0C1H,004H,008H,000H,010H,010H,000H,000H,000H,000H,002H,000H,048H,009H,001H,003H DB 0C0H,088H,006H,07FH,008H,008H,007H,0F8H,00FH,0FEH,001H,000H,048H,008H,089H,003H DB 0CFH,0FFH,084H,041H,009H,0FFH,084H,008H,008H,042H,000H,080H,048H,048H,089H,003H DB 0C0H,020H,03FH,049H,002H,048H,007H,0F8H,008H,042H,000H,0C0H,07FH,048H,00FH,0F3H DB 0C3H,0FFH,001H,049H,022H,048H,004H,008H,008H,042H,008H,080H,088H,048H,011H,003H DB 0C0H,020H,002H,049H,014H,09FH,007H,0F8H,00FH,0FEH,008H,001H,008H,048H,001H,003H DB 0C0H,020H,004H,049H,014H,091H,004H,008H,008H,042H,008H,010H,0FFH,04BH,0BFH,0FBH DB 0CFH,0FFH,0CAH,049H,005H,0AAH,000H,000H,008H,042H,048H,008H,008H,048H,080H,003H DB 0C0H,020H,015H,049H,00AH,0E6H,03FH,03FH,008H,042H,048H,004H,07FH,048H,08FH,0E3H DB 0C0H,020H,025H,095H,008H,094H,021H,021H,00FH,0FEH,048H,006H,049H,048H,088H,023H DB 0C7H,0FFH,085H,014H,038H,088H,03FH,03FH,008H,042H,088H,004H,049H,048H,088H,023H DB 0C0H,050H,004H,024H,008H,08CH,021H,021H,008H,042H,008H,010H,049H,048H,08FH,0E3H DB 0C0H,088H,004H,024H,088H,094H,021H,021H,010H,042H,008H,010H,049H,008H,088H,023H DB 0C1H,006H,004H,044H,088H,0A2H,03FH,03FH,010H,042H,008H,010H,04FH,009H,040H,003H DB 0C6H,003H,084H,083H,088H,0C3H,0A1H,021H,020H,04AH,007H,0F0H,00AH,02AH,03FH,0FBH DB 0D8H,001H,005H,000H,008H,081H,000H,000H,040H,044H,000H,000H,008H,010H,000H,003H DB 0C0H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,003H DB 0C0H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,003H DB 0C0H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,003H DB 0C0H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,003H DB 0C1H,004H,008H,000H,010H,010H,000H,000H,000H,000H,002H,000H,048H,009H,001H,003H DB 0C0H,088H,006H,07FH,008H,008H,007H,0F8H,00FH,0FEH,001H,000H,048H,008H,089H,003H DB 0CFH,0FFH,084H,041H,009H,0FFH,084H,008H,008H,042H,000H,080H,048H,048H,089H,003H

ÁªÏµ¿Í·þ£º779662525#qq.com(#Ì滻Ϊ@) ËÕICP±¸20003344ºÅ-4