How define the own character with using the T6963c library

Hello Everyone.

I tried to create my own character with using the T6963c library. In the library, I found the function responsible for this function.

Source T6963.cpp line 391-397:

void T6963::DefineCharacter(byte charCode, unsigned char * defChar){
  unsigned int address=((_sizeMem/2)-1)*0x800;
  SetAddressPointer(address);
  for(byte i = 0; i < 8 ; i++){
    WriteDisplayData(*(defChar + i));
  }
}

I did some test and I defined the test character(for test I want to display vertical line) on my sketch with this command(but I not sure, if it is the correct of definition ):

  //before setup function
unsigned char const char_test[] PROGMEM = {
  0x02, 
  0x02,
  0x02,
  0x02,
  0x02,
  0x02,
  0x02, 
  0x02
};

setup(){
...
LCD.DefineCharacter(0, (unsigned char*) char_test);
}

But I can't figure out, how to display this character, I tried a lot of function to display it but without success.
If You will be have any suggestion please let me know I will be tested every your idea.


21.12.2013 19.37
I made some change in definition of character. My mistake