An implantable sensing system that includes a sensor for sensing a biological parameter, a processor connected to the sensor for processing the parameter and a drug delivery unit connected to the processor for responding to the processor based on the parameter. The processor is programmed to adjust an output of the sensor by compiling an array of data relating to the sensor, adjusting a sensor parameter a first time based on data in the array, adjusting a curve representing the sensor output based on data in the array and adjusting the sensor parameter a second time based on data in the array.