Hello All,
I am New to Rabbit and hence to Dynamic C development environment.
I am trying to compile the sample code below , but getting Need function definition and deceleration error / expected ) error! I would really appreciate if someone can help me through this.
#use BL26XX.lib
#use RNET.lib
#use RNET_AIN.lib
#define channel 2
#define gaincode 1;
#define MIN_VALUE 205
#define MAX_VALUE 1843
#define MIN_RANGE -2.50
#define MAX_RANGE 2.50
void main()
{
rn_AinData aindata;
int rc;
brdInit();
rc = rn_anaInCalib(channel, RNSINGLE, gaincode, MIN_VALUE, MIN_RANGE, MAX_VALUE, MAX_RANGE, &aindata); // function to calib rabbit net analog card.
}