[Libphidget-cvs-commits] CVS: libphidget/src/examples phidget_c.c,1.10,1.11
Status: Alpha
Brought to you by:
jstrohm
From: Jack S. <js...@us...> - 2002-12-13 22:10:30
|
Update of /cvsroot/libphidget/libphidget/src/examples In directory sc8-pr-cvs1:/tmp/cvs-serv9445/examples Modified Files: phidget_c.c Log Message: fixed some spelling mistakes Index: phidget_c.c =================================================================== RCS file: /cvsroot/libphidget/libphidget/src/examples/phidget_c.c,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** phidget_c.c 13 Dec 2002 22:05:15 -0000 1.10 --- phidget_c.c 13 Dec 2002 22:10:26 -0000 1.11 *************** *** 93,97 **** } else ! if (phidgetTypeDeviceClass (phidgetType (dev)) == LP_INTERFACE_KIT_884) { int t,k; --- 93,97 ---- } else ! if (phidgetTypeDeviceClass (phidgetType (dev)) == LP_INTERFACE_KIT_488) { int t,k; *************** *** 101,105 **** float analog[8]; int digital[8]; ! if (phidgetInterfaceKit884Read(dev,analog,digital)<0) { printf("error - %s\n",phidgetErrorString(phidgetLastError())); --- 101,105 ---- float analog[8]; int digital[8]; ! if (phidgetInterfaceKit488Read(dev,analog,digital)<0) { printf("error - %s\n",phidgetErrorString(phidgetLastError())); *************** *** 125,129 **** } else ! if (phidgetTypeDeviceClass (phidgetType (dev)) == LP_INTERFACE_KIT_088) { int t,k; --- 125,129 ---- } else ! if (phidgetTypeDeviceClass (phidgetType (dev)) == LP_INTERFACE_KIT_880) { int t,k; *************** *** 133,137 **** float analog[8]; int digital[8]; ! if (phidgetInterfaceKit088Read(dev,analog,digital)<0) { printf("error - %s\n",phidgetErrorString(phidgetLastError())); --- 133,137 ---- float analog[8]; int digital[8]; ! if (phidgetInterfaceKit880Read(dev,analog,digital)<0) { printf("error - %s\n",phidgetErrorString(phidgetLastError())); |