Did a quick and probably ugly hack...
Added some variables
namespace Com.Pmalmberg.MSure.Modules.UserModules
{
class LCDExample : UserModule
{
string line1;
string line2;
string line3;
And then a few changes in the code.
public override void Event( OWTemperatureContainer temperature )
{
// Rotate information
line3 = line2;
line2 = line1;
line1 = temperature.Label + " " + temperature.Temperature.ToString("f2") + " " ;
// Display some info from the temperature container on the display
LCDCommand lcdCmd = new LCDCommand( temperature.NetworkName, "LcdDisplay", "not used" );
lcdCmd.DisplayCenter(0, DateTime.Now.ToString( "yyyy-MM-dd HH:mm" ) );
lcdCmd.DisplayCenter( 1, line1 );
lcdCmd.DisplayCenter( 2, line2 );
lcdCmd.DisplayCenter( 3, line3 );
Send( lcdCmd );
}
At "work" ;-) right now so I cant see the display but it should work. (Compiles just fine)