YMS12864-15CFCBDGL GLCD Yazma Sorunu

Başlatan thenorthstar, 25 Ocak 2013, 17:13:10

thenorthstar

Merhaba Arkadaşlar; bende YMS12864-15CFCBDGL kodlu bir GLCD var biraz uğraştım ve zar zor GLCD yi çalıştırdım fakat bazı yerde yanlışlarım var sanırım  . Resim veya yazı yazdırdığımda yarım çıkıyor, Mesela GLCD ye karakterleri basıyorum ama R harfin den sonraki karakterlerde saçmalıyor. Resim gönderdiğimde ise Resim kat kat çıkıyor.  :(
Tüm dosyalar ve çektiğim resim aşağıda, yardımcı olabilir misiniz?


http://www.4shared.com/rar/ZOP_zXkL/Benim_Denemem.html
main.c
#include "cpu.h"
#include "LCDBlocking.h"
#include "LCDBlocking.c"
BYTE lcd_x,lcd_y;

void main()
{
   lcd_x = 0;
   lcd_y = 0;
   LCDInit();
   LCD_ClearScreen();
   char deneme2[]="ABCDEFGHIJKMNOP";
   char deneme3[]="QRSTUVWXYZ[]^_'";
   char deneme4[]="abcdefghijklmnop";
   char deneme5[]="qrstuvwxyz{}|->";
while(1)
{
//!      LCD_GoTo(0,0);
//!      LCD_GoTo(0,1);
//!      LCD_WriteString(deneme2);
//!      LCD_GoTo(0,2);
//!      LCD_WriteString(deneme3);
//!      LCD_GoTo(0,3);
//!      LCD_WriteString(deneme4);
//!      LCD_GoTo(0,4);
//!      LCD_WriteString(deneme5);
//!      LCD_GoTo(10,7);
    LCD_Bitmap(0,0,128,64);
}
}

LCDBlocking.c
#include "font5x7.h"

//BYTE LCDText[16*2+1];

//extern ROM BYTE logo[];

void LCDInit(void)
{

   set_tris_d(0x00);
   set_tris_f(0x00);
   set_tris_g(0x00);

   output_low(LCD_RST_IO);
   Delay_Ms(20);
   output_high(LCD_RST_IO);
      
   set_tris_d(0x00);
   lcd_out_instr(ADC_NORMAL_DIR);       //ADC = 0: normal direction (SEG0-SEG131) 
   lcd_out_instr(SHL_REVERSE_DIR);      //normal direction (COM0-COM63) 
   lcd_out_instr(BIAS_0);               //low bias mode 
   lcd_out_instr(LCD_PWR_CTL | 1);   
   Delay_Ms(3);
   lcd_out_instr(LCD_PWR_CTL | 3);      
   Delay_Ms(3);
   lcd_out_instr(LCD_PWR_CTL | 7);      
   lcd_out_instr(DEFAULT_REF_VOLT_REG | 5); 
   lcd_out_instr(VOLTAGE_MODE);   
   lcd_out_instr(18);   
   Delay_Ms(3);
   lcd_out_instr(DISPLAY_ON);
   Delay_Ms(1000);
 //  LCD_Bitmap(0,0,128,64);
   Delay_Ms(1000);
   
}

void LCD_GoTo(unsigned char column, unsigned char page)
{
   lcd_out_instr(SET_PAGE  |  page);
   lcd_out_instr(SET_COLUMN_MSB | ((column + COLUMN_OFFSET) >> 4));   
   lcd_out_instr(SET_COLUMN_LSB | ((column + COLUMN_OFFSET) & 0x0F));
}

void LCDUpdate()
{
}

void LCD_ClearScreen(void)
{
   int pageIndex, columnIndex;
   for(pageIndex = 0; pageIndex < NUMBER_OF_PAGES; pageIndex++)
     {
     LCD_GoTo(0, pageIndex);
     for(columnIndex = 0; columnIndex < NUMBER_OF_COLUMNS; columnIndex++)
       LCD_WriteData(0);
     }
   LCD_GoTo(0,0);
}

void LCD_ClearLine(int SpageIndex)
{
   int columnIndex;
   LCD_GoTo(0, SpageIndex);
   for(columnIndex = 0; columnIndex < NUMBER_OF_COLUMNS; columnIndex++)
   LCD_WriteData(0);
    
}

void LCD_WriteString(char * string)
{
while(*string)
  {
     LCD_WriteChar(*string++);
  }
}

void LCD_WriteChar(char charCode)
{
   unsigned char fontCollumn;
   for(fontCollumn = 0; fontCollumn < FONT_WIDTH; fontCollumn++)
   LCD_WriteData(font5x7[((charCode - FONT_OFFSET) * FONT_WIDTH) + fontCollumn]);
   LCD_WriteData(0);
}

void LCD_WriteString2(char * string)
{
while(*string)
  {
     LCD_WriteChar2(*string++);
  }
}

void LCD_WriteChar2(char charCode)
{
   unsigned char fontCollumn;
   for(fontCollumn = 0; fontCollumn < FONT_WIDTH; fontCollumn++)
   LCD_WriteData(font5x7[((charCode - FONT_OFFSET) * FONT_WIDTH) + fontCollumn]);
}

void LCD_WriteData(unsigned char dataToWrite)
{
  // while((LCD_ReadStatus()&STATUS_BUSY));
   output_low(LCD_RD_WR_IO);
   output_low(LCD_CS_IO);
   output_high(LCD_RS_IO);
   set_tris_d(0x00);
   output_d(dataToWrite);
   output_high(LCD_E_IO);
   output_low(LCD_E_IO);
   output_high(LCD_CS_IO);

}

void lcd_out_instr(int data) 
{ 
   output_low(LCD_RD_WR_IO);   
   output_low(LCD_CS_IO);//ch   
   output_low(LCD_RS_IO); 
   set_tris_d(0x00);                //LCD_DATA_TRIS = 0x00;   
   output_d(data); 
   output_high(LCD_E_IO);
   output_low(LCD_E_IO);
   output_high(LCD_CS_IO);          //ch     

} 


/*------------------------------------------------------------------------------------------------------------*/ 
unsigned char LCD_ReadStatus(void) 
{ 
      unsigned char dana; 
   output_low(LCD_CS_IO);
   output_low(LCD_RS_IO);
   output_high(LCD_RD_WR_IO);
   set_tris_d(0xFF);                    //LCD_DATA_TRIS = 0xFF; 
   output_high(LCD_E_IO);
   dana = input_d();              
   output_low( LCD_E_IO);
   set_tris_d(0x00);                  // LCD_DATA_TRIS = 0x00; 
      return dana; 
}


void bold_number(char charCode,BYTE Konx)
{
   int16 cs;              //WORD cs;          word ü init8 olarak değiştirdim?
   BYTE i,z,k,j;

   for(j = 0; j < 5; j++)
   {
      z = font5x7[((charCode - 32) * 5) + j];
      cs = 0x0000;
      for (i=0;i<8;i++)
      {
         k =(z>>(7-i))&1;
         cs=cs<<1;
         cs=cs +k;
         cs=cs<<1;
         cs=cs +k;
      
      }
      LCD_GoTo(2*j+Konx,4);
      LCD_WriteData(cs%256);
      LCD_GoTo(2*j+Konx+1,4);
      LCD_WriteData(cs%256);
      LCD_GoTo(2*j+Konx,5);
      LCD_WriteData(cs/256);
      LCD_GoTo(2*j+Konx+1,5);
      LCD_WriteData(cs/256);
      
   }
}

void LCD_Bitmap(int left, int top, int width, int height)
{
   int i,j;
   char deger;
   int16 adres;               //WORD adres; word ü init8 olarak değiştirdim?
   for(i=0;i<8;i++)
   {
      LCD_GoTo(0,0+i);
      for(j=0;j<128;j++)
      {   
         adres = i*128+j;
         deger = logo[adres];   
         LCD_WriteData(deger);
      }
   } 
}


font5x7.h
#define FONT_OFFSET 32
#define FONT_WIDTH  5

const unsigned char font5x7[] = {
0x00, 0x00, 0x00, 0x00, 0x00,// (spacja)
0x00, 0x00, 0x5F, 0x00, 0x00,// !
0x00, 0x07, 0x00, 0x07, 0x00,// "
0x14, 0x7F, 0x14, 0x7F, 0x14,// #
0x24, 0x2A, 0x7F, 0x2A, 0x12,// $
0x23, 0x13, 0x08, 0x64, 0x62,// %
0x36, 0x49, 0x55, 0x22, 0x50,// &
0x00, 0x05, 0x03, 0x00, 0x00,// '
0x00, 0x1C, 0x22, 0x41, 0x00,// (
0x00, 0x41, 0x22, 0x1C, 0x00,// )
0x08, 0x2A, 0x1C, 0x2A, 0x08,// *
0x08, 0x08, 0x3E, 0x08, 0x08,// +
0x00, 0x50, 0x30, 0x00, 0x00,// ,
0x08, 0x08, 0x08, 0x08, 0x08,// -
0x00, 0x30, 0x30, 0x00, 0x00,// .
0x20, 0x10, 0x08, 0x04, 0x02,// /
0x3E, 0x51, 0x49, 0x45, 0x3E,// 0
0x00, 0x42, 0x7F, 0x40, 0x00,// 1
0x42, 0x61, 0x51, 0x49, 0x46,// 2
0x21, 0x41, 0x45, 0x4B, 0x31,// 3
0x18, 0x14, 0x12, 0x7F, 0x10,// 4
0x27, 0x45, 0x45, 0x45, 0x39,// 5
0x3C, 0x4A, 0x49, 0x49, 0x30,// 6
0x01, 0x71, 0x09, 0x05, 0x03,// 7
0x36, 0x49, 0x49, 0x49, 0x36,// 8
0x06, 0x49, 0x49, 0x29, 0x1E,// 9
0x00, 0x36, 0x36, 0x00, 0x00,// :
0x00, 0x56, 0x36, 0x00, 0x00,// ;
0x00, 0x08, 0x14, 0x22, 0x41,// <
0x14, 0x14, 0x14, 0x14, 0x14,// =
0x41, 0x22, 0x14, 0x08, 0x00,// >
0x02, 0x01, 0x51, 0x09, 0x06,// ?
0x32, 0x49, 0x79, 0x41, 0x3E,// @
0x7E, 0x11, 0x11, 0x11, 0x7E,// A
0x7F, 0x49, 0x49, 0x49, 0x36,// B
0x3E, 0x41, 0x41, 0x41, 0x22,// C
0x7F, 0x41, 0x41, 0x22, 0x1C,// D
0x7F, 0x49, 0x49, 0x49, 0x41,// E
0x7F, 0x09, 0x09, 0x01, 0x01,// F
0x3E, 0x41, 0x41, 0x51, 0x32,// G
0x7F, 0x08, 0x08, 0x08, 0x7F,// H
0x00, 0x41, 0x7F, 0x41, 0x00,// I
0x20, 0x40, 0x41, 0x3F, 0x01,// J
0x7F, 0x08, 0x14, 0x22, 0x41,// K
0x7F, 0x40, 0x40, 0x40, 0x40,// L
0x7F, 0x02, 0x04, 0x02, 0x7F,// M
0x7F, 0x04, 0x08, 0x10, 0x7F,// N
0x3E, 0x41, 0x41, 0x41, 0x3E,// O
0x7F, 0x09, 0x09, 0x09, 0x06,// P
0x3E, 0x41, 0x51, 0x21, 0x5E,// Q
0x7F, 0x09, 0x19, 0x29, 0x46,// R
0x46, 0x49, 0x49, 0x49, 0x31,// S
0x01, 0x01, 0x7F, 0x01, 0x01,// T
0x3F, 0x40, 0x40, 0x40, 0x3F,// U
0x1F, 0x20, 0x40, 0x20, 0x1F,// V
0x7F, 0x20, 0x18, 0x20, 0x7F,// W
0x63, 0x14, 0x08, 0x14, 0x63,// X
0x03, 0x04, 0x78, 0x04, 0x03,// Y
0x61, 0x51, 0x49, 0x45, 0x43,// Z
0x00, 0x00, 0x7F, 0x41, 0x41,// [
0x02, 0x04, 0x08, 0x10, 0x20,// "\"
0x41, 0x41, 0x7F, 0x00, 0x00,// ]
0x04, 0x02, 0x01, 0x02, 0x04,// ^
0x40, 0x40, 0x40, 0x40, 0x40,// _
0x00, 0x01, 0x02, 0x04, 0x00,// `
0x20, 0x54, 0x54, 0x54, 0x78,// a
0x7F, 0x48, 0x44, 0x44, 0x38,// b
0x38, 0x44, 0x44, 0x44, 0x20,// c
0x38, 0x44, 0x44, 0x48, 0x7F,// d
0x38, 0x54, 0x54, 0x54, 0x18,// e
0x08, 0x7E, 0x09, 0x01, 0x02,// f
0x08, 0x14, 0x54, 0x54, 0x3C,// g
0x7F, 0x08, 0x04, 0x04, 0x78,// h
0x00, 0x44, 0x7D, 0x40, 0x00,// i
0x20, 0x40, 0x44, 0x3D, 0x00,// j
0x00, 0x7F, 0x10, 0x28, 0x44,// k
0x00, 0x41, 0x7F, 0x40, 0x00,// l
0x7C, 0x04, 0x18, 0x04, 0x78,// m
0x7C, 0x08, 0x04, 0x04, 0x78,// n
0x38, 0x44, 0x44, 0x44, 0x38,// o
0x7C, 0x14, 0x14, 0x14, 0x08,// p
0x08, 0x14, 0x14, 0x18, 0x7C,// q
0x7C, 0x08, 0x04, 0x04, 0x08,// r
0x48, 0x54, 0x54, 0x54, 0x20,// s
0x04, 0x3F, 0x44, 0x40, 0x20,// t
0x3C, 0x40, 0x40, 0x20, 0x7C,// u
0x1C, 0x20, 0x40, 0x20, 0x1C,// v
0x3C, 0x40, 0x30, 0x40, 0x3C,// w
0x44, 0x28, 0x10, 0x28, 0x44,// x
0x0C, 0x50, 0x50, 0x50, 0x3C,// y
0x44, 0x64, 0x54, 0x4C, 0x44,// z
0x00, 0x08, 0x36, 0x41, 0x00,// {
0x00, 0x00, 0x7F, 0x00, 0x00,// |
0x00, 0x41, 0x36, 0x08, 0x00,// }
0x08, 0x08, 0x2A, 0x1C, 0x08,// ->
0x08, 0x1C, 0x2A, 0x08, 0x08 // <-
};

const unsigned char logo[] = {   
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xC0,0xC0,0x40,0x60,0x70,0xB8,0x9C,
      0x9C,0x8E,0x86,0x86,0x1E,0xFA,0xC2,0x82,0x06,0x06,0x06,0x06,0x06,0xE6,0xF2,0x92,
      0x9A,0x9A,0x9A,0x9A,0x92,0xF2,0xF6,0x26,0x06,0xC6,0xC6,0xC6,0x82,0x82,0x82,0x82,
      0xE2,0xE2,0xE2,0x82,0x86,0x86,0x86,0xE6,0xE6,0xE6,0x66,0x04,0x04,0x06,0x06,0x06,
      0x06,0x06,0xC6,0xE6,0xE6,0x86,0x86,0x86,0x84,0xE4,0xE4,0xE6,0x86,0x86,0x86,0x86,
      0xC6,0xC6,0xC6,0xC4,0x04,0x04,0xF4,0xF4,0xD6,0xD6,0x56,0x76,0x34,0x0C,0xFC,0xF8,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x38,0x7C,0xFC,0xEC,0xC6,0x87,0x03,0x01,0x00,0x00,0x0E,0x1F,0x31,0x30,
      0x30,0x38,0x1D,0x07,0x00,0x00,0x01,0x03,0x07,0xFE,0xF8,0x00,0x00,0x00,0x00,0x07,
      0x07,0x07,0x07,0x06,0x00,0x60,0xFC,0x8C,0x06,0x02,0x03,0x03,0x01,0x01,0x01,0x01,
      0x00,0x00,0xF0,0xF0,0xF8,0xF8,0xF9,0xF9,0xF9,0xF9,0xFB,0xF3,0x66,0x8E,0xFC,0xFE,
      0x02,0x03,0xF1,0xF1,0xF9,0xF9,0xF9,0xF8,0xF8,0xF8,0xB0,0xF0,0xE1,0x01,0x01,0x01,
      0x03,0x03,0x06,0x06,0x9C,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xFF,0xFD,
      0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0x80,
      0x80,0x80,0x80,0xC0,0xE0,0xF0,0xF8,0xD8,0xEC,0xEC,0xBC,0x34,0x1C,0x1C,0x0C,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x0F,0x1F,0x1E,0x38,0x70,0xE0,0xC0,0x1C,0x3E,
      0x32,0x33,0x31,0x1B,0xDE,0xE0,0x20,0x20,0x20,0x20,0xE3,0xFF,0xE0,0xC0,0x80,0x00,
      0x00,0x00,0x00,0x00,0x00,0x06,0x0F,0x0B,0x03,0x1B,0x1B,0xFD,0xFF,0xFB,0xF7,0xD7,
      0xC2,0xD6,0xDE,0x9C,0x89,0x89,0x89,0x8D,0x8D,0x85,0x87,0x86,0x83,0x83,0x83,0x82,
      0x8E,0x8C,0xBC,0xAD,0xA9,0xAD,0xAD,0xAD,0xAD,0xE5,0xE5,0xF6,0xF6,0xF6,0xB2,0xB2,
      0x32,0x13,0x1B,0x19,0x19,0x1F,0x0F,0x06,0x00,0x00,0x00,0x00,0xC0,0xF3,0xFF,0x3C,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x9F,0xD9,0xF7,
      0x36,0xCE,0xED,0x6F,0x6F,0x6B,0x2B,0x39,0x3D,0x1F,0x1D,0x0F,0x07,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x07,0x06,0x0C,
      0xBC,0xF8,0xC0,0xC0,0x41,0xC7,0xC6,0xCC,0xE4,0xE6,0xB3,0xF1,0x60,0x01,0x3F,0xF0,
      0xC0,0x00,0x00,0x00,0xC0,0xE0,0xE0,0x60,0x80,0x00,0x00,0x1F,0x7F,0x7F,0xFF,0xFF,
      0xBF,0xBF,0xBF,0xBF,0x7F,0x7F,0x7F,0x7F,0x7F,0x7D,0x7D,0x7D,0x7D,0x7D,0xFD,0xFF,
      0xFF,0xFF,0xFF,0x7F,0x0D,0x05,0x04,0x04,0x04,0x07,0x07,0x00,0x00,0x00,0x00,0x00,
      0x80,0xDC,0x5E,0x53,0x53,0xD3,0xDB,0x1B,0x0B,0x0E,0xC0,0xF0,0x7B,0x3F,0x3C,0x10,
      0xF0,0xF0,0xF0,0xF0,0xE0,0xE0,0xE0,0xE0,0xF0,0xF8,0xDC,0x6E,0x77,0x3B,0x1D,0x0E,
      0x07,0x03,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1E,
      0x3F,0x31,0xE0,0xE0,0x20,0x60,0xE1,0xE3,0xFF,0xFD,0x98,0x98,0x98,0x98,0x98,0x90,
      0x97,0xF0,0xF0,0xB0,0x96,0x9F,0x99,0x9D,0x9D,0x95,0x97,0xB3,0xB0,0xB3,0xB3,0xB6,
      0xF7,0xF7,0xF5,0xD5,0xDD,0xDD,0xDD,0xFD,0xF7,0xB7,0xB7,0xB7,0xF7,0xF5,0x75,0x55,
      0xF5,0xF5,0xB7,0xB6,0xBA,0xF8,0xF8,0xD8,0xD0,0xF0,0xB0,0xB0,0xB0,0xB0,0x90,0x90,
      0x91,0x93,0x9B,0x9B,0x99,0x99,0x98,0xF8,0xF8,0x38,0x1F,0x07,0x06,0x06,0x06,0x06,
      0x07,0x07,0x03,0x03,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0xC0,0xE1,0x3F,0x1F,0x00,0x0F,0x9F,0x99,0x79,0xF1,0xB3,0xB3,0x33,0xF3,0xF0,
      0xA0,0xEF,0xFF,0x61,0x61,0x61,0x63,0x63,0x63,0x63,0x63,0x63,0xA3,0xA3,0xE3,0xE3,
      0xE0,0x20,0x20,0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x27,0x27,0x6C,0xEC,0xE8,
      0xAD,0xA7,0xA7,0xA3,0xA3,0xA3,0xA3,0xA3,0xB3,0xB3,0xF0,0xF0,0x73,0x33,0x33,0x33,
      0x33,0x33,0x33,0x33,0x33,0x33,0x30,0x3F,0x3F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x07,0x07,0x0F,0x0F,0x0E,0x0C,0x0B,0x0F,0x0F,0x03,0x03,0x01,0x00,0x00,0x00,
      0x01,0x01,0x01,0xFF,0xFF,0xE1,0xFD,0xFF,0x07,0x01,0x01,0x01,0x01,0x01,0x01,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0xF0,0xFF,0x73,0x70,0xFF,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x0C,0x3E,0x3E,0x7F,0x7F,0x7E,0x7F,0x7F,0x7E,0xFE,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,
      0xF8,0x78,0x70,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1E,0x3F,
      0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3E,0x3E,0x7C,0x7E,0x7E,0x7E,0x7E,0x3E,0x3E,0x3C,
      0x1C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,



};   

thenorthstar

Arkadaşlar yardım edecek kimse yokmu?

thenorthstar

Yardımlarınız için Teşekkür ederim. Anladığım Kadarı ile Kimse Yardı etmeyecek.

HexfeT

LCD'ye veri yazan fonksiyonda komutlar arasında hiç gecikme yok. Eğer işlemci hızı yüksek ise LCD saçmalayacaktır.

thenorthstar

İlgin için Teşekkür ederim Kardeş, Yarın hemen deneyip sonucu yazacağım.

thenorthstar

Hocam Denedim Fakat sorun yine aynı bir türlü düzeltemedim.

LukeSkywalker

Winstar alin keyfinize bakin. Bu cin mali ks0108 replikalari problemli oluyor.

sadogan


thenorthstar

Tahi Hocam, Yardımcı olursanız çok sevinirim.
Dosyaların tamamı: CCS kodları ve ISIS dosyası
http://www.4shared.com/rar/ZOP_zXkL/Benim_Denemem.html

cpu.h
#include "18F8722.h"
#device adc=10
#fuses H4
#fuses NOWDT             //NOWDT,WDT                
#fuses NOPUT             //NOPUT,PUT
#fuses NOBROWNOUT         //NOBROWNOUT,BROWNOUT
#fuses NOPROTECT         //PROTECT,NOPROTECT

#use delay(clock=40000000) 
#use fast_io(d)
#use fast_io(f)
#use fast_io(g)
#define LCD_DATA_IO         PORTD
#define LCD_RD_WR_IO      PIN_F7
#define LCD_RST_IO         PIN_G2
#define LCD_RS_IO         PIN_G1
#define LCD_E_IO         PIN_F6
#define LCD_CS_IO         PIN_F5
   //#define   RESETB            (LATEbits.LATE4)
   

thenorthstar

Arkadaşlar bu konu ile ilgili bir fikri olan yokmu? :-[