LCD4Linux + serielles VFD
Display hängt an /dev/ttyS0 
 
 
obwohl   20x2 muss als 40x1 angesteuert werden!!! 
Zum Testen als root:
sudo gedit/etc/lcd4linux.conf
lcd4linux -Fvvq
STRG+C zum beenden
 ############### lcd4linux.conf #######################################
Display myVFD {
   Driver   'SimpleLCD'
   Model    'generic'             #vt100 generic
   Port     '/dev/ttyS0'         #Com
                        #Port     '/dev/ttyACM0'  # Arduino
                        #Port     '/dev/ttyUSB0'  # USB Adapter
   Speed     9600
                        #Size     '20x2'
   Size     '40x1' 
   #obwohl   20x2 muss als 40x1 angesteuert werden!!!
                       #Activate parity and set it to odd
                       #Options 0001400
                       #From the BA63 doc, decimal 219 look like a big full block.
  # BarCharValue 219   
}
#----------------------------------------------------------------------------------
Widget Time {
    class 'Text'
    expression strftime('%a. %d/%m  %H:%M:%S',time())
    width 20
    align 'L'
    update 1000
}
Widget FreeRAM {
    class  'Text'
    expression meminfo('MemFree')/1024
    postfix ' MB RAM'   
    width  10
    precision 1
    align  'R'
    update tick
}
Widget Eth0 {
    class 'Text'
    expression (netdev('eth0', 'Rx_bytes', 500)+netdev('eth0', 'Tx_bytes', 500))/1024/1024
    prefix 'eth0'
    postfix ' MB/s'
    width 20
    precision 3
    align 'R'
    update tick
}
Widget Eth0UL{
    class 'Text'
    expression netdev('eth1', 'Tx_bytes', 500)/1024/1024
    prefix 'U '
    #postfix ' MB/s'
    width 8
    precision 3 #Nachkommastellen
    align 'L'
    update tick
}
Widget Eth0DL{
    class 'Text'
    expression netdev('eth1', 'Rx_bytes', 500)/1024/1024
    prefix 'D'
    postfix ' MB/s'
    width 12
    precision 3
    align 'R'
    update tick
}
#----------------------------------------------------------------------------------
Variables {
   tick 500
   tack 100
   minute 60000
}
Layout L40x1 {
    Row1 {
        Col1  'Time'
        #Col11 'Load'
        Col21 'Eth0UL'
        Col29 'Eth0DL'
    }
}
Display 'myVFD'
Layout  'L40x1'