To use this file copy and paste this:
// #URL-lib "http://pin1.org/forthlib/flb/I2C/bv4219.flb" into BV Terminal 3
or here to download.
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
// BV4219 Graphic display
// This is a library of words inteded for this device it is an I2C
// device. The user should set the device address
// using the word 4219-init and supplying a device address.
// This will load as a stand alone file or can be used as a library
// providing the parent file includes the files in the REQUIRES
// section
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
// REQUIRES:
// #URL-lib "http://pin1.org/forthlib/flb/General/soft1.flb" sid=0
// #URL-lib "http://pin1.org/forthlib/flb/General/pinsel.flb" sid=101
// #URL-Lib "http://pin1.org/forthlib/flb/I2C/i2c.flb" sid=103
// CONSTANTS:
// This variable is used to hold the I2C address of the device
// it can be chaned to a constant if required.
integer device
Full Contents of File
integer  device 
: a1  device  s  1  sb  sb  p  ;   
: a2  device  s  2  sb  sb  p  ; 
: a3  device  s  3  sb  sb  p  ; 
: a4  device  s  4  sb 
        device  1+  rs
        bytes  1-  for
                rn 
        next
        rl
        p  ;   
: a6  device  s  6  sb  sb  p  ; 
: a5  device  s  5  sb  p  ; 
: a7  device  s  7  sb  sb  p  ; 
: a8  device  s  8  sb  sb  p  ; 
: a9  device  s  9  sb  x  sb  r  sb  b  sb  p  ; 
: aa  device  s  &a  sb  x  sb  y  sb  b  sb  p  ; 
: a10  device  s  &10  sb  sb  p  ; 
: pixon 
        device  s  &11  sb  x  sb  y  sb  1  sb  p  ; 
: pixoff 
        device  s  &11  sb  x  sb  y  sb  0  sb  p  ; 
: dhl 
    device  s  &12  sb  x  sb  y  sb  l  sb  p  ;   
: dhli 
    device  s  &13  sb  x  sb  y  sb  l  sb  p  ; 
: dvl 
    device  s  &14  sb  x  sb  y  sb  l  sb  p  ;   
: dvli 
    device  s  &15  sb  x  sb  y  sb  l  sb  p  ; 
: dbnf 
        device  s  &16  sb  x  sb  y  sb  xl  sb  yl  sb  p  ; 
: dbwf 
        device  s  &18  sb  x  sb  y  sb  xl  sb  yl  sb  p  ; 
: a20  device  s  &20  sb  sb  p  ; 
: a21  device  s  &21  sb  sb  p  ; 
: a22  device  s  &22  sb  sb  p  ; 
: a23  device  s  &23  sb  sb  p  ; 
: a25  device  s  &25  sb  r  sb  c  sb  p  ; 
: a27  device  s  &27  sb  device  1+  rs  rl  p  ; 
: a28  device  s  &28  sb  device  1+  rs  rl  p  ; 
: send-text
    device  s  &20  sb     
    begin
        addr  c@  0  <>
    while
        addr  c@  sb
        1  +>  addr
    repeat
    p         
;   
: a55  device  s  &55  sb  device  1+  rs  rn  1  =  rn  2  =  and  rl  3  =  and  p  ;
: a90 
    device  s  &90  sb  sb  device  1+  rs 
    1-  for  rn  next 
    rl  p  ;
   
: a91
    device  s  &91  sb  sb
    depth  for  sb  next
    p  ;
   
: a93  device  s  &93  sb  device  1+  rs  rl  p  ; 
: a94  device  s  &94  sb  p  ; 
: a95  device  s  &95  sb  p  ; 
: a96  device  s  &96  sb  &55  sb  &aa  sb  p  ; 
: a99  device  s  &99  sb  dup  sb  &55  sb  &aa  sb  device  sb  =>  device  p  ;
: aa0  device  s  &a0  sb  device  1+  rs
                rn  .  ."  ."  rl  emit  p  ;
: 4219-init  =>  device  i2-init  a55  ;
: i2cslow  100000  i2speed  ; 
: i2cfull  400000  i2speed  ; 
: 4219-default66  4219-init  i2cfull  ;