To clarify the Test Driver operation...
You need to create a new file in the LCD Smartie folder (same place as LCDSmartie.exe) called "testdriver.ini". This holds the config info for the test driver. NB this config info used to be in the main "config.ini" file.
In this file, you need the config lines that are described on the Test Driver web page at
http://lcdsmartie.sourceforge.net/testdriver.html
The ini file for a Matrix Orbital LCD would contain something like this:
Code: Select all
[Test Driver]
Init=254,66,254,84,254,88,254,75,254,82,254,68,254,65,254,152,127,254,80,125
Fini=254,70,254,88
GotoLine1=254,71,1,1
GotoLine2=254,71,1,2
GotoLine3=254,71,1,3
GotoLine4=254,71,1,4
For the MK158, I think you need something like this in the testdriver.ini file:
Code: Select all
[Test Driver]
Init=13
Fini=13
GotoLine1=13
GotoLine2=
GotoLine3=
GotoLine4=
You should also set the Smartie display settings (in the Smartie setup window) to 2400 baud (eg "COM1,2400,8,N,1" in Startup Parameters) and an LCD size of 1x16.
I haven't used the MK158 display at all, and the test driver only a little, so this may not all be accurate! Experiment and see...