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

Writing to display

Discussing issues that occur during plugin development.

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo

Post Reply
AllenConquest
Posts: 32
Joined: February 26th, 2005, 7:03 pm

Writing to display

Post by AllenConquest »

Well I've got the demo plugin working, now something a bit more advanced ...

How do I output to multiple lines on the display ?

AllenConquest
Posts: 32
Joined: February 26th, 2005, 7:03 pm

Post by AllenConquest »

Oh dear :oops:
I've really shown myself up as a noobie now. No need to answer I figured it out myself

limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Post by limbo »

Hey man this is the forum for...

no special way to show multiple lines to display...
just call a fuction in each line of lcd smartie....

:wink:

I think you found it by your self

AllenConquest
Posts: 32
Joined: February 26th, 2005, 7:03 pm

Post by AllenConquest »

Thanks limbo. Just after posting that message I suddenly realised it :wink:

I'm just working out what I can do in plugins. Is there a good example plugin that does something a bit more useful than the demo ones ? I want to make sure anything I write is up to the usual standards. Are there any tricks you tend to use, such as threading, or anything else ?

limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Post by limbo »

Coding Language?

I use mainly vb.NET for coding....

I can provide you some code examples for the VB if use the same platform...
the source of a released plugin for example

clansley
Site Admin
Posts: 104
Joined: February 13th, 2005, 5:09 pm
Location: UK
Contact:

Post by clansley »

There's also the code for all of our plugins in CVS. (i.e. winamp, perf, menu, etc)

[The code's a little ugly as I didn't have time to clean it up...]

AllenConquest
Posts: 32
Joined: February 26th, 2005, 7:03 pm

Post by AllenConquest »

So is there a way of making LCDSmartie go to my new screen when my application first starts ? I've also been looking at jaLCD and this seems to be able to do this. What I want is for my plugin to control what screen is displayed on the VFD. Is this possible ?

limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Post by limbo »

I think it's possible to write a plugin to interact with any program...
This needs programming expierience.... :shock:

However you cannot control the screens of LCD smartie through plugin's functions. Plug-is returning only string type data to LCD smartie.

In other hand you can develop a plugin that returns various strings depending on the received data or status of the application interacting with { a very simple example for this is my warnif plugin }.

AllenConquest
Posts: 32
Joined: February 26th, 2005, 7:03 pm

Post by AllenConquest »

So this isn't really going to be able to do what I want. It looks like I'll have to stic with jaLCD which can be controlled from the plugin. It's a shame because I know the LCDSmartie already works with so many displays.

My only other option is to write a direct interface so that I output direct to the LCD. Is there an easy way to do this in a way that is compatible with many LCD devices ?

Post Reply