works fine !!!
![]()
// Example use of LCD3Wire library
// Almost a carbon-copy of LCD4BitExample.pde
#include <avr/pgmspace.h> Â
#include <LCD3Wire.h>
//LCD Pins
#define LCD_LINES 2 Â // number of lines in your display
#define CLK_PIN Â 9 Â // Clock pin pwm
#define DOUT_PIN  11  // Dout pin pwm   Â
#define STR_PIN Â 12 Â // Strobe pin
//create object to control an LCD. Â
LCD3Wire lcd = LCD3Wire(LCD_LINES, DOUT_PIN, STR_PIN, CLK_PIN);
void setup() {
 lcd.init();
//creating the custom fonts:
 lcd.commandWrite(B01001000);  // set cgram
 static byte chars[] PROGMEM ={
  B11111,B00000,B11111,B11111,B00000,
  B11111,B00000,B11111,B11111,B00000,
  B11111,B00000,B11111,B11111,B00000,
  B00000,B00000,B00000,B11111,B00000,
  B00000,B00000,B00000,B11111,B00000,
  B00000,B11111,B11111,B11111,B01110,
  B00000,B11111,B11111,B11111,B01110,
  B00000,B11111,B11111,B11111,B01110};
  Â
  for(byte x=0;x<5;x++)
   {
    byte a=(x+1<<3)|0x40;
   for(byte y=0;y<8;y++)
    {
     lcd.commandWrite(a++); //write the character data to the character generator ram
       lcd.print(pgm_read_byte(&chars[y*5+x]));
    }
   }
 lcd.commandWrite(B00000001);  // clear display, set cursor position to zero
 lcd.commandWrite(B10000000);  // set dram to zero
Â
}
char bignumchars1[]={4,1,4,0, 1,4,32,0, 3,3,4,0, 1,3,4,0, 4,2,4,0, Â 4,3,3,0, 4,3,3,0, 1,1,4,0, Â 4,3,4,0, 4,3,4,0};
char bignumchars2[]={4,2,4,0, 2,4,2,0, Â 4,2,2,0, 2,2,4,0, 32,32,4,0, 2,2,4,0, 4,2,4,0, 32,32,4,0, 4,2,4,0, 2,2,4,0};
void loop() { Â
   for(int x = 0;x<10;x++){
   lcd.clear();
  lcd.cursorTo(0);
  lcd.printIn(bignumchars1+x*4);
  lcd.cursorTo(1);
  lcd.printIn(bignumchars2+x*4);
  delay(1000);
 }
}