lcd4linux:driver_teaklcm
Inhaltsverzeichnis
TeakLCM driver
This driver supports the TeakLCM, a character display module that is connected to a serial port and uses a framed protocol with checksums. The driver was written by Hans Ulrich Niedermann and Andreas Thienemann.
Display Section
Display <name> {
Driver 'TeakLCM'
Port <string>
Speed <number>
Size <string>
}
Parameters
| Driver | 'TeakLCM' |
| Port | serial device the display is attached to (e.g. '/dev/ttyS1') |
| Speed | baud rate of the serial port (the sample configuration uses 38400) |
| Size | <columns>x<rows> e.g. '20×2'. Required. |
Widgets
Only the Text widget is available. The driver does not support user-defined characters, so there are no icons and no bars.
Notes
- The connection to the display is established shortly after the start of LCD4Linux; the driver then switches the display and its backlight on. When LCD4Linux stops, the display is cleared and switched off.
- lcd4linux.conf.sample contains the entries Backlight and Icons for this display. Backlight is not evaluated by the driver, and as there are no user-defined characters, Icons has to stay 0.
Example
Display TeakLCM {
Driver 'TeakLCM'
Size '20x2'
Port '/dev/ttyS1'
Speed 38400
}
Requirements
No external libraries. The driver is selected at build time with –with-drivers=TeakLCM.
lcd4linux/driver_teaklcm.txt · Zuletzt geändert: von 127.0.0.1
