Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

mk158 (help)

Discussion about LCD's and other related hardware

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo, Fast351, hydrolisk1792

Post Reply
frezz
Posts: 1
Joined: November 20th, 2007, 6:09 am

mk158 (help)

Post by frezz »

Hello to all!
I would like to know how to set my mk158 with test driver ... if someone could help me ....
Excuse me for my English :-(
Thank soon
mattcro
Forum Supporter
Posts: 590
Joined: March 8th, 2006, 1:58 pm
Location: Scotland

Post by mattcro »

Look at this thread for some more info on this display. I don't know if Didel got it working or not, but you may get some ideas from that thread.
mattcro
Forum Supporter
Posts: 590
Joined: March 8th, 2006, 1:58 pm
Location: Scotland

Post by mattcro »

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...
Post Reply