- First working version of counter driver for ECB

- Motor driver works for normal, control and encoder motors
This commit is contained in:
cvs
2003-01-29 07:42:18 +00:00
parent e4d4643123
commit b1fd8e77ac
9 changed files with 631 additions and 15 deletions

View File

@@ -292,12 +292,12 @@ static float FAILRATE;
return COREDO;
}
/*--------------------------------------------------------------------------*/
static int SIMSet(struct __COUNTER *self, int iCode, int iCter, float FVal)
static int SIMSet(struct __COUNTER *self, char *name, int iCter, float FVal)
{
return 1;
}
/*--------------------------------------------------------------------------*/
static int SIMGet(struct __COUNTER *self, int iCode, int iCter, float *fVal)
static int SIMGet(struct __COUNTER *self, char *name, int iCter, float *fVal)
{
*fVal = 25.999;
return 1;