Version 1.0 06/2001 |
#define CARD1 1 #define CARD2 2 #define MAX_SLOT_NO 8
unsigned int PortAddress[8]={0x080, 0x0a0, 0x0c0, 0x0e0, 0x140, 0x160, 0x180,
long x_value;
long y_value;
long z_value; unsigned char index; unsigned char x_index; unsigned char y_index; unsigned char z_index;
unsigned char i8090Slot;
void ShowLedValue(long value,unsigned char axis)
{
long j;
unsigned char negative_value;
if (value<0) negative_value=1;
else negative_value=0; value=labs(value);
if (negative_value) Show5DigitLedWithDot(0x05, j);
else Show5DigitLed(0x05, j);
value=value/10;
http://www.icpdas.com | ICPDAS |