Download Version 1.0 |
Introduction |
Installation |
Usage |
Revisions
Introduction
DX160CharMapper.dll is a LCD Smartie
plugin for utilizing more than 8 custom characters on the DX160 LCD display.
Installation
DX160CharMapper.dll should be placed in the 'plugins' subdirectory of the LCD
Smartie installation directory.
It requires that the Visual 2005 redistributable package is installed on the
executing computer. If necessary, this package can be downloaded from
Microsoft's site.
Usage
FUNCTION 1 - Directly map a custom character at XX location:
Usage: $dll(DX160CharMapper,1,n,1#2#3#4#5#6#7#8)
Where:
n: |
The character to map the custom character to. This can be anything 1-255! Note the standard alphanumeric
characters used by LCDSmartie are 32-126. Overwrite them at your own risk as once they are overwritten
they will not be reverted for that session. |
1-8: |
The pixel definition for that horizontal row. This is the same mapping used by LCD Smartie. Only the first
6 bits are used. |
Notes:
- Standard LCDSmartie custom characters are stored at locations 1-8
- 176,158,131,132,133,134,135,136 will be replaced automagically by lcdsmartie with 1-8
- For some reason lcdsmartie does not output characters 10 and 13.
example:
$dll(DX160CharMapper,1,31,0#14#14#31#14#4#0#0)$Chr(31)
The above will set a new custom character (Down arrow) to character 31. Then the $Chr(31) will
show it to the screen.
FUNCTION 2 - Call another DLL and remap the characters from that DLL into another Custom character bank
Usage: $dll(DX160CharMapper,2,X^Y^Z,D1^D2)
Where:
X: |
The plugin DLL to call |
Y: |
The function number (1-9) to call on the plugin DLL |
Z: |
The custom character slot to start mapping on. For now only (1, 14, 22) should be used |
D1: |
Parameter1 of the X DLL call |
D2: |
Parameter2 of the X DLL call |
example:
CPU1: [$dll(DX160CharMapper,2,perf^1^14,1x8#u#99#5#0#100#\Processor(0)\% Processor Time^TinyCPU1)]$dll(perf,4,5,\Processor(0)\% Processor Time)%
CPU2: [$dll(DX160CharMapper,2,perf^1^22,1x8#u#99#5#0#100#\Processor(1)\% Processor Time^TinyCPU2)]$dll(perf,4,5,\Processor(1)\% Processor Time)%
The above two lines will output two PERF single character graphs, one for each processor. And still allow
you to use 8 standard custom characters.
Revision Information
- 1.0: Initial version
- 0.9: Support for "real" DLLs only.
Downloads
- Version 1.0: zip (7.2kb) (Source available upon request)