added basic calibration for wifly