Fixed ADC calibration, corrected include & link settings