Update of /cvsroot/libphidget/libphidget/src/libphidget
In directory sc8-pr-cvs1:/tmp/cvs-serv15921/libphidget
Modified Files:
phidget.c phidget.h
Log Message:
Minor bug fix for interface kit in phidget++
Index: phidget.c
===================================================================
RCS file: /cvsroot/libphidget/libphidget/src/libphidget/phidget.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** phidget.c 14 Dec 2002 23:38:13 -0000 1.23
--- phidget.c 15 Dec 2002 22:55:25 -0000 1.24
***************
*** 1409,1413 ****
* Helper function to turn the Text LCD on and configure it
*/
! enum ELPError phidgetInterfaceKit488Write(struct phidget *phidgetDevice, int index, int value)
{
char buffer[4];
--- 1409,1413 ----
* Helper function to turn the Text LCD on and configure it
*/
! enum ELPError phidgetInterfaceKitWrite(struct phidget *phidgetDevice, int index, int value)
{
char buffer[4];
Index: phidget.h
===================================================================
RCS file: /cvsroot/libphidget/libphidget/src/libphidget/phidget.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** phidget.h 14 Dec 2002 23:38:13 -0000 1.15
--- phidget.h 15 Dec 2002 22:55:25 -0000 1.16
***************
*** 215,220 ****
enum ELPError phidgetTextLCDOff(struct phidget *phidgetDevice);
enum ELPError phidgetInterfaceKit488Read(struct phidget *phidgetDevice, float analog[4], int digital[8]);
- enum ELPError phidgetInterfaceKit488Write(struct phidget *phidgetDevice, int index, int value);
enum ELPError phidgetInterfaceKit880Read(struct phidget *phidgetDevice, float analog[8], int digital[8]);
enum ELPError phidgetTextLCDWrite(struct phidget *phidgetDevice, int row, int col, const char *str);
enum ELPError phidgetTextLCDClear(struct phidget *phidgetDevice);
--- 215,220 ----
enum ELPError phidgetTextLCDOff(struct phidget *phidgetDevice);
enum ELPError phidgetInterfaceKit488Read(struct phidget *phidgetDevice, float analog[4], int digital[8]);
enum ELPError phidgetInterfaceKit880Read(struct phidget *phidgetDevice, float analog[8], int digital[8]);
+ enum ELPError phidgetInterfaceKitWrite(struct phidget *phidgetDevice, int index, int value);
enum ELPError phidgetTextLCDWrite(struct phidget *phidgetDevice, int row, int col, const char *str);
enum ELPError phidgetTextLCDClear(struct phidget *phidgetDevice);
|