Update of /cvsroot/libphidget/libphidget/src/examples
In directory sc8-pr-cvs1:/tmp/cvs-serv5321/examples
Modified Files:
phidget_c.c
Log Message:
Cooler LCD text example
Index: phidget_c.c
===================================================================
RCS file: /cvsroot/libphidget/libphidget/src/examples/phidget_c.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** phidget_c.c 14 Dec 2002 04:34:35 -0000 1.12
--- phidget_c.c 14 Dec 2002 06:49:43 -0000 1.13
***************
*** 111,116 ****
if (phidgetTypeDeviceClass (phidgetType (dev)) == LP_TEXT_LCD)
{
// Close that phidget
! phidgetTextLCDWrite(dev, 1, 0,"Test ");
}
--- 111,125 ----
if (phidgetTypeDeviceClass (phidgetType (dev)) == LP_TEXT_LCD)
{
+ int a,b,c;
// Close that phidget
! for (c=0;c<4;c++)
! {
! for (a=0;a<8;a++)
! for (b=0;b<4;b++)
! phidgetTextLCDWrite(dev, 1+b, a," Tst ");
! for (a=0;a<8;a++)
! for (b=0;b<4;b++)
! phidgetTextLCDWrite(dev, 1+b, 8-a," Tst ");
! }
}
|