Hi, I saw a strnage problem using unsigned shorts, not sure if any one saw that, I was using an unsigned short for binding it to integer, the lint wasn't complaining and everything seem to go ahead fine, when I tested that on windows, all my querys were returning as expected. But when I moved my code to ARM platform, all my queries were failing, the reason was that as I used unsigned short for binding with int, it was taking zero.
Any idea why this would be so, is it compiler problem as to how it intrepets that data.? Of course when I changed the data type to int everything went ahead fine. Wanted to know if any one saw this. Just wanted to let people know if anyone intends to use uint16's on ADS1.2 be prepared for strange results. ... Chetana.