PSoC Express design elements and custom code can be combined to create a two-point, straight-line calibration curve for a sensor.