What do you mean by not working correctly? What values do you get? How did you physically connect to the analog inputs?