[Lcdproc] Force LCD repaint?

Vallevand, Mark K Mark.Vallevand@UNISYS.com
Tue Mar 18 14:27:01 2008


This is a multi-part message in MIME format.

------_=_NextPart_001_01C88903.7AF5124C
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Our driver doesn't support this.  But, it's a good thought. =20

=20

The problem is that our device shares the i2c bus with other devices
that aren't as well-behaved.  So, we get occasional corruption.  I've
worked out a scheme that should repaint sufficiently.  But, I wish our
board designers had put our device on its own bus.

=20

Thanks everyone for a fine project.

Regards.=20
Mark K Vallevand

We old folks have to find our cushions and pillows in our tankards.
Strong beer is the milk of the old.
- Martin Luther


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

________________________________

From: lcdproc-admin@lists.omnipotent.net
[mailto:lcdproc-admin@lists.omnipotent.net] On Behalf Of Bob van Loosen
Sent: Friday, March 14, 2008 2:30 PM
To: lcdproc@lists.omnipotent.net
Subject: Re: [Lcdproc] Force LCD repaint?

=20

Vallevand, Mark K wrote:=20

Is there a way for an lcdproc client to force a repaint of the LCD? =20

=20

We have some deep hardware issues that might not get resolved.  But,
it's pretty simply to add code in our client to request a repaint.

=20

Regards.=20
Mark K Vallevand

We old folks have to find our cushions and pillows in our tankards.
Strong beer is the milk of the old.
- Martin Luther


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

=20

If you're using the HD44780 driver, there is a RefreshDisplay option in
LCDd.conf

Bob van Loosen.


------_=_NextPart_001_01C88903.7AF5124C
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" =
name=3D"PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";
	color:black;}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";
	color:black;}
p
	{mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman";
	color:black;}
span.EmailStyle19
	{mso-style-type:personal;
	font-family:Arial;
	color:windowtext;}
span.EmailStyle20
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=3Dwhite lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Our driver doesn&#8217;t support =
this. &nbsp;But,
it&#8217;s a good thought. &nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>The problem is that our device =
shares the
i2c bus with other devices that aren&#8217;t as well-behaved. &nbsp;So, =
we get occasional
corruption.&nbsp; I&#8217;ve worked out a scheme that should repaint
sufficiently. &nbsp;But, I wish our board designers had put our device =
on its
own bus.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Thanks everyone for a fine =
project.<o:p></o:p></span></font></p>

<div>

<p><font size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Regards.</span></font> <br>
<st1:PersonName w:st=3D"on"><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
 font-family:Arial'>Mark K =
Vallevand</span></font></st1:PersonName><o:p></o:p></p>

<p><font size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>We old folks have to find our cushions and pillows in =
our
tankards. Strong beer is the milk of the old.<br>
- Martin Luther</span></font><o:p></o:p></p>

<p><font size=3D3 color=3Dblack face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'><br>
</span></font><font size=3D2><span style=3D'font-size:10.0pt'>THIS =
COMMUNICATION
MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is =
thus for
use only by the intended recipient. If you received this in error, =
please
contact the sender and delete the e-mail and its attachments from all
computers.</span></font><o:p></o:p></p>

</div>

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
color=3Dblack face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:windowtext'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 color=3Dblack face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight=
:bold'>From:</span></font></b><font
size=3D2 color=3Dblack face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma;
color:windowtext'> lcdproc-admin@lists.omnipotent.net
[mailto:lcdproc-admin@lists.omnipotent.net] <b><span =
style=3D'font-weight:bold'>On
Behalf Of </span></b>Bob van Loosen<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Friday, March 14, =
2008 2:30
PM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> =
lcdproc@lists.omnipotent.net<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> Re: [Lcdproc] =
Force LCD
repaint?</span></font><font color=3Dblack><span =
style=3D'color:windowtext'><o:p></o:p></span></font></p>

</div>

<p class=3DMsoNormal><font size=3D3 color=3Dblack face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 color=3Dblack face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>Vallevand, Mark K wrote: =
<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial'><u1:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" =
name=3D"PersonName"></u1:SmartTagType>Is
there a way for an lcdproc client to force a repaint of the LCD?&nbsp; =
<u1:p></u1:p></span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial'><u1:p>&nbsp;</u1:p></span></font><o:p></o:p></p=
>

<p class=3DMsoNormal><font size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial'>We have some deep hardware issues that might =
not get
resolved.&nbsp; But, it&#8217;s pretty simply to add code in our client =
to
request a repaint.<u1:p></u1:p></span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial'><u1:p>&nbsp;</u1:p></span></font><o:p></o:p></p=
>

<p><font size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Regards.</span></font> <br>
<st1:PersonName w:st=3D"on"><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
 font-family:Arial'><st1:PersonName u2:st=3D"on">Mark K =
Vallevand</span></font></st1:PersonName></st1:PersonName><u1:p></u1:p><o:=
p></o:p></p>

<p><font size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>We old folks have to find our cushions and pillows in =
our
tankards. Strong beer is the milk of the old.<br>
- Martin Luther</span></font><u1:p></u1:p><o:p></o:p></p>

<p><font size=3D3 color=3Dblack face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'><br>
</span></font><font size=3D2><span style=3D'font-size:10.0pt'>THIS =
COMMUNICATION
MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is =
thus for
use only by the intended recipient. If you received this in error, =
please
contact the sender and delete the e-mail and its attachments from all =
computers.</span></font><u1:p></u1:p><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 color=3Dblack face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'><u1:p>&nbsp;</u1:p><o:p></o:p></span></font></=
p>

<p class=3DMsoNormal><font size=3D3 color=3Dblack face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>If you're using the HD44780 driver, there is =
a
RefreshDisplay option in LCDd.conf<br>
<br>
Bob van Loosen.<o:p></o:p></span></font></p>

</div>

</body>

</html>

------_=_NextPart_001_01C88903.7AF5124C--