sorry my newb status with Arduino and C is really not helping... i'm trying to convert this line (x1=......) to something Arduino will compile so i can use it to correctmy other code... thanks, unless the example i posted is actually correct in which case i may have to return this sensor as it's not giving a correct reading.

void setup (){ Serial.begin (9600); unsigned int ac5 = 32757; // these numbers all from the example unsigned int ac6 = 23153; // these numbers all from the example int mc = -8711; // these numbers all from the example int md = 2868; // these numbers all from the example long ut= 27898; // these numbers all from the example - you will read this from the device.