On closer examination, it seems that my display is not quite 18 characters wide!
My solution was to change this line: width = self.lcd.d_width to: width = self.lcd.d_width-2 It's a bit of a hack, I know, but by effectively limiting the screen to 16 columns it keeps the display nicely centered. Thanks for the prompt replies and for pointing me in the right direction. John. > ---------------------------------------- > From: Andreas Dick <and...@gmx.ch> > Sent: Wed Jul 01 23:24:36 CEST 2009 > To: <dun...@freevo.org>, <freevo-users@lists.sourceforge.net> > Subject: Re: [Freevo-users] lcd > > > hei John > I hope you find out how to change the lcd2 plugin for your needs. if you dig > the code, you will find how the display size is coded. > > the clock and status informations are placed on the right end of the top > line, > probably you will have to change this position (+2). > > in the code you will find as well, how to controll the lcd with python > commands... its allways helpfull to test the features of the lcd in the > python shell... > > I wrote the plugin just for my needs, but maybe it is possible to merge your > version with mine...? > > unfortuneately I have freevo not startet at the moment, but I will check the > code the next time I get time for it. > > Andreas > > Am Mittwoch, 1. Juli 2009 19.51:45 schrieb Duncan Webb: > > John Percival wrote: > > > I have a Fujitsu-Siemens Scaleo E which has, I think, a Futaba dm140 VFD. > > > > > > When I try to acitvate the lcd plugin, it complains that it cannot find a > screen for a 2x18 display (5x8 matrix). > > > > > > Activating the lcd2 (2x16) plugin works a lot better but with one slight > irritation. The last character of the first line is incomplete: the > right-most one or two columns of the matrix are missing but appear at the > start of the second line. > > > > > > Is there any way of defining a 2x18 screen ? > > > > Hopefully the code is clear enough for you to workout how to add to it > > to create a 2x18 display. > > > > Duncan > > > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Freevo-users mailing list > > Freevo-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/freevo-users > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Freevo-users mailing list > Freevo-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freevo-users ----------------------------------------------------- Mail.be, WebMail and Virtual Office http://www.mail.be ------------------------------------------------------------------------------ _______________________________________________ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users