butterfly
Joined: 04 Jun 2006 Posts: 35
|
HOW TO USE GRAPHIC LCD |
Posted: Mon Jun 05, 2006 10:04 am |
|
|
ı'M USİN PIC16F877. AND WANT TO USE WG240120B 240*128 PIXEL GRAPHIC LCD.
ı want to a look up table with assembly. But i could not find where i can not write my assembly subroutine????
like that
..................
if (i>=8 && i<=12 && k>=8 && k<=23)
{
// SID
#asm
cALL Saltprog
MOVWF EKRAN
BANKSEL Saltprog
INCF SSAYICI,F
#endasm
}
...........
////////// subroutine
Saltprog
BANKSEL SSAYICI
MOVFW SSAYICI
Addwf PCL,F
RETLW 0xFF
RETLW 0xFF
RETLW 0xFF
RETLW 0xFF
RETLW 0xFF
RETLW 0xFF
RETLW 0xFF
cLRF SSAYICI
RETLW 0xFF
where i must write my subroutine? |
|