Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    #
    # lcd_i2c.pl
    ...
        $string = sprintf( "%-${width}s\n", $string );
        return ($string);
    }
    
  2. or download this
    3          2       1           0
    Backlight  Enable  Read/Write  Register select
    
  3. or download this
    7   6   5   4   3   2   1   0
    0   0   0   0   1   C   B   x  x=don't care
    Bit 3=1 display on, C=1 cursor on, B=1 blink cursor