This file must be placed in the Plugins folder beneath where Girder is installed.
simlcd.dll | Simulated LCD |
lcdrvr1.dll | LCDriver 1.x |
cfontzlcd.dll | Crystalfontz |
molcd.dll | Matrix Orbital |
paralcd.dll | Parallel port |
These files must be in the Windows path; it is simplest to put them in the same folder where Girder is installed. Only the file(s) for the device(s) being used is needed. However, there is no harm in installing them all. These are separate files because each depends on other device driver DLLs that may not be installed at all.
A Windows device driver that gives low-level access to the parallel port is needed. This plug-in uses PortIO, which is available from this site. It should be installed before selecting Parallel as the device.
The most interesting use is together with the DVDSpy plug-in, which
generates events when the state of a software media player changes.
These events are accompanied by payload text, which can be displayed
using variable pldn
. See the readme file for that
plug-in for more details. A sample Girder file is included that
displays some information in a format suitable for 4x20 displays.
strftime
control string.
A number of lines of the display can be filled at once. This does not give as fine control over placement or width. It is most suitable when a number of variables are being expanded in the text.
Several special actions that are also possible:
The character definition consists of eight numbers, one for each row.
The five least significant bits of each number are the five dots of
the row, with the most significant bit on the left. For conventience,
0b
is allowed as a number prefix for binary numbers. So,
for example,
0b11110 0b10001 0b10001 0b11110 0b10100 0b10010 0b10001is shaped like a capital R.
LCD_Size()
LCD_Close()
LCD_String(row, column, width, string)
width
is negative, the rest of the line is used. If column
is
negative, a marquee is started on the given row.
LCD_CustomCharacter(row, column, bits)
Library | The name of the DLL containing the device specific interface. |
Device | The name of the specific device being used; often the display model number. |
Cols | The number of columns. |
Rows | The number of rows. |
CharacterMap |
The device code to use for each character. Many displays put
characters like ¥ where \ and ~
should be. Most displays have accented European characters at non-standard
indices. Some displays have variants of g , j , p ,
q , and y with proper descenders at different codes; since
the underline cursor is not used, these can yield a superior display.
|
MarqueePixelWidth | The number of pixels to shift a scrolling display each time. By convention, 6 pixels represents a single character when computing the frequency of the simulated marquee, which cannot scroll by a partial character. The default is 6. |
MarqueeSpeed | The interval, in milliseconds, between shifts of a scrolling display. When simulating a marquee, both the speed and pixel width are taken into account when computing the frequency of redrawing. The default is 1000, that is, one second. |
Contrast | The contrast setting for an LCD. A number between 0 and 100. The default is 50. |
Brightness | The brightness setting for a VFD, or the backlight brightness for a backlit LCD. A number between 0 and 100. The default is 50. |
EnableInput | Translate keypad button presses into Girder events. |
Port | The name of the serial port device, such as COM1. |
PortSpeed | The speed of the serial port, such as 9600. |
PortRTS | Whether RTS is turned on for the serial line. The default is on. |
PortDTR | Whether DTR is turned on for the serial line. The default is on. |
MarqueeSimulated | For LCDriver, whether a marquee is simulated in software. Necessary when using LCDriver with a display other than Crystalfontz. |
ParallelStrobeDelay | The interval, in milliseconds, to wait for the HD44780 to notice a signal transition. If you have a slow HD44780, try increasing this number. |
ParallelCommandDelay | The interval, in milliseconds, to wait for the HD44780 to process a command or shift the data register. If you have a slow HD44780, try increasing this number. |
SimLCDFontSize | The font size in the Simulated LCD window. The default is 10. |
SimLCDFont | The font face name in the Simulated LCD window. The default is Courier New. |
SimLCDFontStyle | The font style in the Simulated LCD window. The default is Bold. |
SimLCDTextColor | The text (foreground) color in the Simulated LCD window. A single RGB value. The default is black. |
SimLCDBackColor | The background color in the Simulated LCD window. A single RGB value. The default is a greenish yellow. |
SimLCDXPos | The X position of the Simulated LCD window. The default is the last position. |
SimLCDYPos | The Y position of the Simulated LCD window. The default is the last position. |
SimLCDAlwaysOnTop | Whether the Simulated LCD window stays on top of other windows. The default is on. |
DebounceTime | The debounce time for a keypad in milliseconds. The default for Matrix Orbital is 52ms. |